|
albo Apprentice
Joined: 27 Mar 2008 Posts: 106
|
Posted: Sun Sep 25, 2011 6:52 am
I'm having problems to get this #alarm throw out this #if |
This little trigger fires after you enter a room and sends you on the path which i've stored in the string list variables there.
Once it gets to the end of the line, i'd like for it to simply refill the variable @mobnow with the variable @mobpath and continue on grooving.
Code: |
<trigger priority="10270" id="1027">
<pattern>Exits:</pattern>
<value>#ALARM "mobrun" +3 {#if (%numitems( @mobnow)="0") {
mobnow=@mobpath
#exec %pop( mobnow)
} {#exec %pop( mobnow)}} moblook
</value>
</trigger> |
I want to say that has worked before. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Mon Sep 26, 2011 3:25 pm |
Try taking 0 out of quotes.
|
|
|
|
albo Apprentice
Joined: 27 Mar 2008 Posts: 106
|
Posted: Mon Sep 26, 2011 11:57 pm |
Ok, I took the quotes off the 0 there and that worked for me once.
I am kinda busy tonight so I may not get to test it extensively.
Thanks Daern!! |
|
|
|
|
|