|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
|
_________________ Thank you for everything, it's always appreciated. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Mar 05, 2006 10:31 pm |
The #CLASS command only works for a class, whereas #Tą works for all types of settings.
#STATUS "This as a T- demo" {VijilanteDemo} {VijilanteStat}
#ALARM +10 {#T- VijilanteStat status;#SHOW I only turned off the status line. See %class("VijilanteDemo")} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Mar 06, 2006 5:33 pm |
Wow... i never tried #T- with any settings besides trigger. I'll have to look to see how I can make that work for me.
|
|
_________________ Asati di tempari! |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Tue Mar 07, 2006 4:31 pm |
for better processing speed we know that we turn off triggers that arent needed.
But my question is, if you turn off a class with 10 triggers will it be the same as turning off all 10 triggers instead?
Because obviously turning off a class with one command as opposed to 10 commands for the triggers is better and quicker.
Just wondering cause I thought i heard something once about triggers turned off a certain way arent really off. Not sure if I am right, and not sure which is better. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Mar 07, 2006 8:06 pm |
I'm sure one of the wizards will correct me, but I believe the answer to your question is yes. It is the same. zMud takes a hiearchical approach so when you disable a class none of the trigger/aliases within it are evaluated for execuation. I currently use that approach to avoid overhead on heavy scripting like Item identify and banking.
|
|
_________________ Asati di tempari! |
|
|
|
shazara Beginner
Joined: 17 Feb 2003 Posts: 16 Location: USA
|
Posted: Sun Mar 26, 2006 6:18 am |
You can specify what type to look for...use #T+ Aname class or #T+ Aname trigger
|
|
|
|
|
|