if(client.CheckPassport("MyPassportHere"))
it says error:client.CheckPassport:undefined var
Anyone know why?
[Edit]
I figured out why it wont work, because I have it under a Click() proc. That may help you figure out how i could do this.
-Rcet
ID:149930
![]() Jan 25 2002, 6:34 pm (Edited on Jan 25 2002, 8:06 pm)
|
|
For some reason when i use
if(client.CheckPassport("MyPassportHere")) it says error:client.CheckPassport:undefined var Anyone know why? [Edit] I figured out why it wont work, because I have it under a Click() proc. That may help you figure out how i could do this. -Rcet |
Click() is one of those few cases where you do need to use the dread usr var. usr is the mob that Click()ed whatever the src is.
You want
if(<font color=#ffff99>usr.</ font>client.CheckPassport("MyPassportHere"))
in the Click() proc.