-
Notifications
You must be signed in to change notification settings - Fork 50
Manual:DIL Manual isplayer()
iamnove edited this page Jan 18, 2023
·
51 revisions
Function: integer isplayer( pcname : string ) ;
pcname the name of the player being checked Return Returns an integer TRUE if pcname is a player FALSE if not
This function is used to find out if a string you pass to it is a player or not. This can be used and is used to find out if a player is truly a player that an Administrator is deleting with out having that player on line. Example: ---~---~---~---~---~---~---~---~---
if (not isplayer(arg)) { sendtext (arg+" is not a character.&n",self); quit; }
---~---~---~---~---~---~---~---~---
---~---~---~---~---~---~---~---~---