ID:176201
![]() Feb 8 2003, 6:46 pm
|
|
cna someone send me the code for banning someone, and where it goes.
|
the only way i know of banning someone is to do an if under login
if(usr.key='whateverthekeynameis') Logout() (del)src |
That is wrong in so many ways. Let's see...
usr should not be used in a proc. = is the assignment operator, not the comparison operator. == is the comparison operator. Single quotes are for defining files to be included in the .rsc, not for text strings. (del)src is totally wrong. You probably want del(src). And why call Logout() and then del(src)? That would just give the abuser a method of spamming the game (assuming there is a Logout() message). I suggest you learn to program before giving programming help. |
You just commited Crime Code 77194 Stupe.