Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_valid

API Function: is_valid

Summary:
returns whether a verb is a known social

Defined In LPC Object:
/usr/common/sys/sould.c

Prototype:
int is_valid(string verb)

Can Be Called By:
System, Common, Game

Description:

Checks whether the supplied verb is a valid social, and returns true or false.

Return Value:

1 if the verb is valid, 0 if it isn't, -1 if the query isn't allowed

Errors:
Normally none.

See Also:
all_socials