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


Joined: 03 Aug 2005
Posts: 84

PostPosted: Mon Sep 05, 2005 3:33 pm   

Never Mind, the issue resolved itself.
 
I tend to make very complicated triggers for spamming and such, but I can't figure out how to manipulate the classes outside of the class containg the trigger calling the #T action. I have tried prefixing the class name with ""(nothing), "./" and "../" but the class state remains the same whe the triggers execute. The following is the code I currently have:

Code:

#CLASS {Spamming|SpamAttackSpells} {disable}
#CLASS 0
#CLASS {Spamming|SpamAttackSpells|SpamSpellWake}
#TRIGGER {(797hp/797hp 801m/801m 334mv/334mv)} {
  #T- ../SpamSpellWake
  wake
  #T+ ../SpamSpellAttack
  cast 'prismatic spray' acaykath
  }
#CLASS 0
#CLASS {Spamming|SpamAttackSpells|SpamSpellAttack}
#TRIGGER {You lost your concentration.} {cast 'prismatic spray' acaykath}
#TRIGGER {You don't have enough mana.} {
  #T- ../SpamSpellAttack
  sleep throne
  #T+ ../SpamSpellWake
  }
#CLASS 0
#CLASS {Spamming|SpamAttackSpells|SpamSpellDrink}
#TRIGGER {You are hungry.} {
  #T- ../SpamSpellWake
  #T- ../SpamSpellAttack
  wake
  drink
  }
#TRIGGER {You're too full to drink more.} {
  sleep throne
  #T+ ../SpamSpellWake
  }
#TRIGGER {You drink lemonade from a Royal Bath.} {drink}
#CLASS 0
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Sep 07, 2005 9:49 pm   
 
i now it is resolved.. but for others reading, you can use:

Code:

#CLASS "Main|Subfolder|even_deeper_folder" 0
#CLASS "Main" 0

Code:

to disable and
#CLASS "Main|Subfolder|even_deeper_folder" 1
#CLASS "Main" 1

to enable entire classes or subclasses
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