Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
tbone235
Apprentice


Joined: 02 Nov 2002
Posts: 107
Location: Australia

PostPosted: 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 :)
Reply with quote
tbone235
Apprentice


Joined: 02 Nov 2002
Posts: 107
Location: Australia

PostPosted: 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 :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net