valid()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/valid() · 353 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& valid()
 
  Syntax:  valid(name,<Name>)
 
  Returns a 1 if the specified <Name> is a valid name for an object, 
  room, exit, or player. 0 if not. Names are considered invalid if 
  they begin with certain characters like '!'.
 
  Example:
 
  > think valid(name,somename) 
  1
  > think valid(name,!test)
  0
 
	See Also: name(), @name

Site Stats

Snippets: 1791
Codebases: 571