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
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: 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
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: 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
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Fri Apr 14, 2006 8:50 pm   
 
This is still an issue for me, any ideas?
_________________
Discord: Shalimarwildcat
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