MUSH SUPPORT
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding things to a list with a command

Go down

Adding things to a list with a command Empty Adding things to a list with a command

Post  Void Wed Sep 23, 2009 3:16 pm

kinda sketchy, but this is one way you would add a word to the beginning of a list.

&add_cmd me=$add *:&word_list me=[insert([v(word_list)],1,%0)];@pemit %#=[v(word_list)]


as for adding to the end of the list...eheh
i'll get back to you on that
Void
Void
Admin

Posts : 14
Join date : 2009-08-17

https://mush.board-directory.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum