View Single Post
  #3  
Old 09-27-2001, 09:12 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 >,=,<)
Reply With Quote