Quote:
Originally posted by Merlin
if (playerchats) {
tokenize #c;
if (startswith(warpto,#c)) {
if (staff) {
if (tokenscount==3) {
setstring local.x,#t(1);
setstring local.y,#t(2);
setstring local.level,#t(3);
timeout = .5;
}
}
}
}
if (timeout) {
setlevel2 #s(local.level),#s(local.x),#s(local.y);
}
[edit] oh i see...
hmm well...
you can do
this.counter = strtofloat(#t(1));
if (this.counter => 0) {
action;
}
|
ok i understand what your doing .... but here is what i want ...
i want it so if the playerchats and it starts with 'warpto' it tokenizes #c. ( I can do that but) I wanna know if there is a special command to check the numerical value of a token?(the token being >,=,<)