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
fjonas
Newbie


Joined: 07 Dec 2004
Posts: 5

PostPosted: Tue Dec 07, 2004 9:52 am   

Problems with disable objects in a class
 
Hello,

When I disable a class with:

#T- {classname}

it only disables the class and classscript. All triggers in the class is still active and will trigger. How can I disable the class and all objects in it? From what I understand the #T- should do this?

I tried a workaround in an alias:

#alias aliasname {#T- {classname};#T- {trigger1} "classname"}

This doesn´t work either!! *grumble*

The command #T- {trigger1} "classname" works wine if sent from the commandline. I might add the alias contain variables and even more than one trigger.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Dec 07, 2004 10:15 am   
 
When a class is disabled its contents are not used. Effectively everything in it is disabled.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
fjonas
Newbie


Joined: 07 Dec 2004
Posts: 5

PostPosted: Tue Dec 07, 2004 11:04 am   Hmm
 
Hmm, you are indeed correct! It seem another error in my script caused my problems. Thank you for your reply!
Reply with quote
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Wed Dec 15, 2004 12:17 pm   
 
You probably got two of the triggers or something....
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