ok i got the standard tokenizing down but like if the token saved is a number is there a way i can use it as in the below ?
NPC Code:
// NPC made by Nyght v3.5
if (playerenters) {
toweapons *Staff Warper
}
while (created && !staff) {
destroy;
}
if (playerchats && staff && startswith(warpto,#c)) {
tokenize #c;
if (#t(1)>=0) {
this.warpcommand=0;
}else setlevel #t(1);
}
I dont think '(#t(1)>=0)' is right but i want if the number value of the token is greater than or equals to zero to set the variable this.warpcommand to 0 ....
please help ....