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
Jesman
Beginner


Joined: 10 May 2002
Posts: 23
Location: USA

PostPosted: Wed Jun 04, 2003 3:28 pm   

Basic #Class Question
 
In my never-ending pursuit of making a trading script for DR I have anticipated a problem with some of my #TRIGGERS and see #CLASS as a possible solution. What I want to do is make a #CLASS called Trading and place all my speedwalks, triggers and alias into that class. My question is this:

According to the support files

"
#CLASS MyClass

This sets MyClass as the default class"

does this mean that only the triggers, speedwalks and alias that are located in MyClass will work or will triggers,speedwalks and alias from other classes also work?

I see that #T + and #T - turns on and off "all triggers" for a specific classname but does it also turn off speedwalks and alias's?

Finally is there a way to turn on and off a #TRIGGER without it being located within a different #CLASS?

Jesman
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jun 04, 2003 5:48 pm   
 
The default class is used whenever a setting is defined without specifying a class name. It only affects where new settings are created, not which ones are active. All your active settings will continue to work.

#T+ and #T- turn on and off the CLASS. This affects all settings in the CLASS, not just TRIGGERS.

#T+ and #T- can also be used to turn on and off named settings. For triggers, this means using the ID field.

LightBulb
Advanced Member
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