|
tbone235 Apprentice
Joined: 02 Nov 2002 Posts: 107 Location: Australia
|
Posted: Wed Jan 29, 2003 8:34 am
Yet another problem :( |
Ok, having problems with they #IF statments... for some reason, can anyone see what i've done wrong. Because atm, instead of executing what's inside the { } it just sends all of it including the {} to the mud ie {#ADDITEM blah blah2} all gets sent to the mud like that.
my trigger
Level:%s(%d)%s(*) Mana:%s(%d)%sLearned:%s(%d)~%
my code for the trigger
spellname = %trimright( %2)
#IF (%4 >= 75) {#ADDITEM spellup_list @spellname}{}
Output is...
{#ADDITEM spellup_list Enlightenment}{}
Thanks for any help :) |
|
|
|
tbone235 Apprentice
Joined: 02 Nov 2002 Posts: 107 Location: Australia
|
Posted: Wed Jan 29, 2003 8:55 am |
nevermind i found my own prob, just missing a space between the {} of the true commands and the {} of the false commands :P but...i can just take the last set of {} off till i feel like putting something in there :)
|
|
|
|
|
|