Manual:DIL Manual/isplayer()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 22:38, 4 December 2025 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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))

---~---~---~---~---~---~---~---~---



---~---~---~---~---~---~---~---~---

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))

---~---~---~---~---~---~---~---~---



---~---~---~---~---~---~---~---~---