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
Prax
Newbie


Joined: 16 Dec 2001
Posts: 1
Location: USA

PostPosted: Mon Mar 04, 2002 2:40 pm   

trigger troubles
 
Hi all
Just playing around with MXP colors, and having trouble with the following code. It sends everything after the second #IF to the mud, including the opening brace. It does send it in color tho :)
(I have clipped out part of the code to make it shorter.) any suggestions?
Thanks in advance
Prax

#VAR lasttrig %trigger
#IF (@chancap = 1) {
#IF (%2 != "tells you") {
#GA -1
#GA 2
#IF (%2 = "asks") {
:tells:~<font Comic Sans MS~>~<color 14772545~>@lasttrig~<~/font~>~<~/color~>
}
***CLIPPED***
#IF (%2 = "racetalks") {
:chats:~<font Comic Sans MS~>~<color 8388352~>@lasttrig~<~/font~>~<~/color~>
}
}{:chats:~<font Comic Sans MS~>~<color 4678655~>@lasttrig~<~/font~>~<~/color~>}
}
Reply with quote
itsmarty
Novice


Joined: 29 Jan 2002
Posts: 37
Location: USA

PostPosted: Mon Mar 04, 2002 4:34 pm   
 
quote:

}{:chats:~<font Comic Sans MS~>~<color 4678655~>@lasttrig~<~/font~>~<~/color~>}
}



The back to back quotes on the chats line need to have a space in between them. I don't know if that's it or if it's just not formatting correctly on the forums, but it caught my eye.

}{
needs to be
}[space]{

Martin
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