user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/404', '', '38.107.179.243', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 2536, 1337600158) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

pick

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.

Examples:

#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.

message="reHuHu"
#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