|
Prax Newbie
Joined: 16 Dec 2001 Posts: 1 Location: USA
|
Posted: 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~>}
} |
|
|
|
itsmarty Novice
Joined: 29 Jan 2002 Posts: 37 Location: USA
|
Posted: 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 |
|
|
|
|
|