|
n0manarmy Newbie
Joined: 31 May 2002 Posts: 8
|
Posted: Thu Jun 06, 2002 4:17 am
Having problems calling an alias through trigger |
I have an if statement in a trigger that calls to an alias, unfortunately it won't call the alias. The statement looks like this
#IF (@TOTAL] < 14) {aff} {#SA Done!}
It skips past the alias and goes right to the end. is there a special character im supposed to insert to call the alias in the trigger? Ill insert something besides aff and it will execute it, but when i put aff back it doesn't do anything. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Jun 06, 2002 5:36 am |
quote:
I have an if statement in a trigger that calls to an alias, unfortunately it won't call the alias. The statement looks like this
#IF (@TOTAL] < 14) {aff} {#SA Done!}
It skips past the alias and goes right to the end. is there a special character im supposed to insert to call the alias in the trigger? Ill insert something besides aff and it will execute it, but when i put aff back it doesn't do anything.
Your problem is probably the ending square bracket. Is that a typo and if not have you noticed this with other #IF commands?
You can perhaps try preceding it with the quote character (~ by default), but I think you'll need to remove it completely from the variable name.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|
|
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
|
|