Syntax: %pick(s1,s2,s3,...)

display a picklist and let the user choose one or more strings from the list. If more than one are chosen, they are returned as a string list with each item separated by |. See #PICK for more options.


#VAR mode %pick("p:Pick a Mode of Communication","o:1","say","ctell","gtell","auction","shout","dream","gossip")
displays a list with 7 commands, one of them can be chosen, and is assigned to the variable mode.

#VAR tellList {Deth|Crowly|Castaway|Sildaren}
#FORALL %pick("p:Select whom to answer",@tellList) {tell %i @message}
displays a pick list with 4 names, and sends the string contained in @message to all the people selected.

Add comment

Login or register to post comments