|
Zafrusteria Wanderer
Joined: 11 Oct 2000 Posts: 94 Location: United Kingdom
|
Posted: Sun Jul 27, 2003 10:53 am
turning on/off nested classes |
Hi
How do you turn on/off a class that is a nested class.
So normally you use #T+ <class name> and #T- <class name> to toggle the class on and off,
what is the syntax for a nested class?
Example:
top class is Class1 with a nested or subclass called Sub1.
#T+ <what goes here> to toggle just Sub1?
Zaf |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Jul 27, 2003 5:20 pm |
zMud will find the class you mean wherever it is, so no special syntax is needed. The only time you would have to use any extra syntax is if you have 2 or more classes with the same name. Example:
#CLASS abc
#CLASS 0
#CLASS abc|def
#CLASS 0
#CLASS def
#CLASS 0
Now there are 2 different def classes. You would use the class character to differentiate them
#T- ./def
#T- ./abc/def |
|
|
|
Zafrusteria Wanderer
Joined: 11 Oct 2000 Posts: 94 Location: United Kingdom
|
Posted: Mon Jul 28, 2003 7:38 pm |
The only problem is when you save the alias the ./ is removed from #T- ./def and the ./abc/ is removed from #T- ./abc/def so you end up with
#T- def
#T- def
I'll raise this as a bug with Zugg. :-( |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jul 28, 2003 11:57 pm |
#AL temp1 {#T- abc|def}
#AL temp2 {#T- def}
#AL temp3 {#T- .|def}
#AL temp4 {#T- .|abc|def}
Pick the ones you want. I haven't tested the . syntax, so I don't know what effect it will have, but it does save. |
|
|
|
|
|