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
Mixsel
Wanderer


Joined: 02 Feb 2003
Posts: 99
Location: Seattle, Wa

PostPosted: Wed Mar 19, 2003 11:59 am   

This has to be a simple error
 
I dunno what I am doing wrong but when I try to turn on or turn off a class folder, with triggers and such in the folder, it wont turn off or on for that matter so heres my attempt :)
I have a class folder named quest
inside the folder is this

#CLASS {quest} {enable|setdef}
#TRIGGER {[TARGET] A brownish grey gnome watches you warily} {k gnome}
#TRIGGER {[TARGET] A slave trader wonders if you are a perspective buyer} {k trader}
#CLASS 0

ok thats a partial list and I just realized it's in text style? tried changing it to zmud script but when i go back to edit it or whatever it's text again.
Anyways outside of the folder I have (what I thought) 2 triggers to turn it on and off
#trigger {you ask caleb for a quest} {#T+ quest}
#trigger {you inform caleb you have done it etc} {#T- quest}

i did put another command after each on/off trigger to see if the text was matching and it was.
after a few hours of trying to bs my way through this with the forums and helps
I have come to the conclusion "I am missing something so freaking simple or overthinking this whole thing" so which is it?
any help or a slap aside the noogin to improve my vision mucho appreciated :)
oh yea tried a few options on the class thing also with no avail.



Spin
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Mar 19, 2003 12:49 pm   
 
That's strange. Try disabling and enabling the class manually using the settings editor and see if it disables correctly that way.

Also, it might be possible that you have a copy of these triggers somewhere else, so that when the class is disabled, they copy still fires.

By the way, you are missing ~'s before each [ and each ] in the pattern of your triggers. Otherwise, zMUD will interpret this as a range.

Kjata
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Mar 19, 2003 9:08 pm   
 
All I could think of is maybe you have something else with id quest? A trigger maybe?

Export all your triggers to a text file and search through it perhaps to speed up the
debug process.

Kjata's point:
#TRIGGER {~[TARGET~] A brownish grey gnome watches you warily} {k gnome}
#TRIGGER {~[TARGET~] A slave trader wonders if you are a perspective buyer} {k trader}


Ton Diening
Reply with quote
Mixsel
Wanderer


Joined: 02 Feb 2003
Posts: 99
Location: Seattle, Wa

PostPosted: Wed Mar 19, 2003 9:36 pm   
 
You two deserve a big thanks! THANKS! yes it was a trigger with and id of quest
(still dunno how i did that lol) and thanks for pointing out that i needed to fix the range thing,
I learned a couple things also from this so im a happy camper!


Spin
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