
09-25-2001, 06:33 AM
|
|
Registered User
|
Join Date: Aug 2001
Posts: 378
|
|
|
since were talking about tokenizing in here i get this error from a warper code.
'Error: Expected format var, var[i], obj[i].attr, function(a), function(a,b)'
the code is
// NPC made by Josey Hunt
if (playerenters&&staff&&!hasweapon(*Warper)){toweapo ns *Warper;}
if (playerenters&&staff&&hasweapon(*Warper)){message ;}
if (playerenters&&!staff){message ;}
if (playerchats&&!staff&&isweapon){set jailed;}
if (playerchats&&startswith(warpto,#c)&&staff&&isweap on){
tokenize #c;}
if (tokenscount==3){setlevel2 #t(1),#t(2),#t(3);}
the #t(3); part gets the error. anyone know why? |
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
|
|
|
|