|
nazradin Apprentice
Joined: 23 Mar 2003 Posts: 114 Location: New Zealand
|
Posted: Mon Jul 07, 2003 8:18 am
add item question |
i have an var string that is a list of insults, i have been using
SpellList=%additem("cast 'armor' me",@SpellList)
but it is getting annoying when it will often repeat the same insult 3 or 4 times in a row.
I saw a post on here a couple of weeks ago where it used a var string deleted the first item and readded it back on the end, but i have been unable to find it again so,
#ALIAS Insulter {%eval( say %item( @Insult, 1));%additem( %item( @Insult, 1), @Insult);#DELN Insult 1}
this says and deltes the insult but does not add it back onto the end.
also tried
additem( %1, @Insult)
but neither work
>say Put 1 your dirt 1 ready to die
Put on your dirt shroud and get ready to die|I'm going to put you in the narrow house|You coffin is waiting for you|I will avenge with heaped interest the crimes you have commited|Taste the bile of punishment|You screams will be louder than any womens|I will free you of the pain of your existence|Get back in the privy you crawled out of night soil|Put on your dirt shroud and get ready to die
>
You say, "Put 1 your dirt 1 ready to die"
>I could not find what you were referring to.
also need a way to cut down the spamm
anyhepl appreciated |
|
|
|
nazradin Apprentice
Joined: 23 Mar 2003 Posts: 114 Location: New Zealand
|
Posted: Mon Jul 07, 2003 10:08 am |
Shallimar helped me out
#ALIAS Insulter {%eval( say %item( @Insult, 1));#VAR insult {%additem( %item( @insult, 1), @insult)};#DELN Insult 1}
works fine |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|