TinTin++ Mud Client Manual  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
Event
space
Syntax: #event {event name} {commands}
space
Events allow the creation of triggers for predetermined client events. Using #event without an argument will list most of the possible events with a brief description. Using #event %* will show all defined events. Some events set arguments.
space
DATE
space
Triggers on the given date.
space
DAY
space
Triggers each day or given day.
space
END OF PATH
space
This event triggers once when reaching the end of a path using #path walk.
space
HOUR
space
Triggers each hour or given hour.
space
IAC
space
This event triggers for all telnet negotiation. Use #config {debug telnet} {on} to see the proper name of telnet events as they happen. If you create a telnet event for a telnet negotiation that is normally handled by the mud client, like IAC SB TTYPE, only the event will be executed; the automatic response will be blocked.
space
IAC SB MSDP
space
This event triggers on a MSDP (Mud Server Data Protocol) sub negotiation. The %0 argument contains the variable's name, the %1 argument contains the variable's value. If a variable is send as an array a name/value event is generated for each index.
space
IAC SB MSSP
space
This event triggers on a MSSP (Mud Server Status Protocol) sub negotiation. The %0 argument contains the variable's name, the %1 argument contains the variable's value. If a variable is send as an array a name/value event is generated for each index.
space
IAC SB NEW-ENVIRON
space
This event triggers on a NEW-ENVIRON sub negotiation. Depending on the negotiation type you'll have to append SEND, IS, or INFO to the event name, as shown when using #config {debug telnet} {on}. The %0 argument contains the variable's name, the %1 argument contains the variable's value.
space
IAC SB ZMP
space
This event triggers on a ZMP sub negotiation. Depending on the ZMP package you'll have to append the package to the event name, as shown when using #config {debug telnet} {on}. The %0 argument contains the ZMP package data.
space
IAC SB
space
This event triggers on any undefined sub negotiation. Some telnet options will be named, others will be a number, as shown when using #config {debug telnet} {on}. The %0 argument will contain the data inside the sub negotiation.
space
MAP ENTER MAP
space
Triggers when entering the map.
space
MAP ENTER ROOM
space
This event triggers right after entering a new room in the auto-mapper. The %0 argument contains the vnum of the room.
space
MAP EXIT MAP
space
Triggers when exiting the map.
space
MAP EXIT ROOM
space
This event triggers right before exiting the current room in the auto-mapper. The %0 argument contains the vnum of the room.
space
MINUTE
space
Triggers each minute or given minute.
space
MONTH
space
Triggers each month or given month.
space
PROGRAM START
space
This event triggers at the end of TinTin++'s startup process.
space
PROGRAM TERMINATION
space
This event triggers at the end of TinTin++'s termination process inside the startup session.
space
RECEIVED INPUT
space
This event triggers right after any kind of input has been entered and has been executed. The %0 argument contains the raw input.
space
RECEIVED LINE
space
This event triggers when a line is received from the server, right before the execution of any triggers. The %0 argument contains the raw line, the %1 argument contains the plain line, stripped of all color codes.
space
RECEIVED OUTPUT
space
Triggers when new output is received.
space
SCREEN RESIZE
space
Triggers when the screen is resized.
space
SECOND
space
Triggers each second or given second.
space
SEND OUTPUT
space
This event triggers right after a command line has been send to the server. The %0 argument contains the raw command line.
space
SESSION ACTIVATED
space
Triggers when a session is activated.
space
SESSION CONNECTED
space
This event triggers right after a session connects to a server. The %0 argument contains the session name, the %1 argument contains the host name, the %2 argument contains the numeric IP address, the %3 argument contains the port number.
space
SESSION DEACTIVATED
space
Triggers when a session is deactivated.
space
SESSION DISCONNECTED
space
This event triggers right after a session is disconnected from a server. The %0 argument contains the session name, the %1 argument contains the host name, the %2 argument contains the numeric IP address, the %3 argument contains the port number.
space
TIME
space
Triggers on the given time.
space
WEEK
space
Triggers each week or given week.
space
YEAR
space
Triggers each year or given year.
space