|
Atreides096 Beginner
Joined: 26 Apr 2004 Posts: 15 Location: USA
|
Posted: Thu May 06, 2004 12:17 am
#IF check for enabled classes |
I am just wondering if there is a way to set #IF to determine if a class is activated or not.. for example:
#al {startspells} {
#if {Spells|Sanc=ACTIVE} {c sanc}
#if {Spells|Armor=ACTICE} {c armor}}
Etc... where Spells if the primary class, Sanc or Armor is the subclass
If this is possible, what is the format?
The reason for this is that I play a MUD with remorting, and I wanna set one alias to spellup, and just have it automatically check whether or not I have regained those spells on my particular mort. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Thu May 06, 2004 12:36 am |
class
Syntax: %class(class)
Return true if the specified class is enabled. If the class does not exist, -1 is returned. (Same as the %trigger function)
#if (%class(sanc)) {c sanc} |
|
|
|
|
|
|
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
|
|