Isplayer

Main.Isplayer History

Hide minor edits - Show changes to markup

December 31, 2008, at 05:57 PM EST by admin
Added lines 1-12:
     isplayer - syntax: isplayer(CH) 

Returns true if the character is a player.

   if isplayer(ch) then
      say ("You're a player!")
   end
   if not(isplayer(self)) then
      say ("I'm not!")
   end