|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Apr 12, 2006 2:13 am
untrigger stopped working on me |
Okay, I dont understand why this suddenly stopped working on me, but my #UNTRIGGER commands stopped working on #ALARMs
Here is the trigger i am using:
#TRIGGER {^[%x%s]~[(*)~].$} {
temp = %1
temp = %replace( @temp, "journey ", "")
temp = %replace( @temp, ",", "|")
#FORALL @nogo {#DELITEM temp "%i"}
#DELI temp @reverse
#ALARM "keepgoing" +2 {#IF (%numitems( @temp)<2) {
#IF (@temp = e) {reverse = w}
#IF (@temp = w) {reverse = e}
#IF (@temp = n) {reverse = s}
#IF (@temp = s) {reverse = n}
#IF (@temp = se) {reverse = nw}
#IF (@temp = sw) {reverse = ne}
#IF (@temp = ne) {reverse = sw}
#IF (@temp = nw) {reverse = se}
#IF (@temp = u) {reverse = d}
#IF (@temp = d) {reverse = u}
@temp
} {#IF (@xp=@maxxp) {teachme}}}
#TEMP "roadrange" {^{the|a|an|two|three} *({@stoptokill}){s|} ({is|are}) {@positions}.} {
#untrigger keepgoing
#BEEP
target = %%1
}
}
I know the trigger is firing because i hear the beep and the target variable updates, however the message stating that the trigger has been removed no longer shows. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Apr 12, 2006 5:32 am |
The #UN series of commands generally require that the working class folder be the one containing the setting to be deleted.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Apr 12, 2006 6:21 am |
Do you mean the same class as the trigger setting it?
By the very nature temp goes into the root directory and after having been undone many times in the past, so does the alarm
So the one that addresses the other is in the same class (root) by default unless i specify the _nodef {classname}, right?
Whats the problem here? |
|
_________________ Discord: Shalimarwildcat |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri Apr 14, 2006 8:50 pm |
This is still an issue for me, any ideas?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|