Manual:DIL Manual/isplayer()
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
		
		
		
		
		
	
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;
        }
---~---~---~---~---~---~---~---~---
---~---~---~---~---~---~---~---~---