TinTin++ Mud Client Manual
Class
space
Syntax: #class {name} {open|close|read filename|write filename|kill}
space
#class {<classname>} {open}
space
The {open} option will open a class and all triggers and variables created afterwards will be assigned to this class until it is closed or another class is opened.
space
#class {<classname>} {close}
space
The {close} option will close a class. If it's is the currently open class the last unclosed class, if any, is opened.
space
#class {<classname>} {read} {<filename>}
space
The {read} option will open the provided class, read the given file, and close the class after reading.
space
#class {<classname>} {write} {<filename>}
space
The {write} option will write all triggers of the given class to file. This option can be used to store data by assigning variables to belong to a specific class.
space
#class {<classname>} {kill}
space
The {kill} option will delete all triggers of the given class.
space
There is no option to enable or disable a class. To disable a class you must kill it, and to enable it you must reload it from file. Alternatively you can use a variable to toggle functionality on or off, or use an alias to recreate triggers if you want to minimize file access.
space
See also: Debug, Ignore, Info, Kill and Message.
space