TinTin++ Mud Client Manual
Commands
space
Syntax: #commands {abbreviation}
space
Without an argument this command will show all commands, otherwise it will show all commands matching the abbreviation.
space
Command Syntax
space
All TinTin++ commands start with a '#', which can be changed using #config {TINTIN CHAR}. All tintin commands can be abbreviated when typed, for example, instead of #variable you can use #var.
space
Sessions can be activated using #<session name> and commands can be executed without activating the session using #<session name> {commands}.
space
#<number> {commands} can be used to execute the given commands 'number' times.
space
You can execute several commands by encasing the commands in a set of braces and separating each command with semicolons, for example, to show 'Hello' and 'World' 4 times you would use:
space
Example: #4 {#showme Hello;#showme World}
space
Command Separator
space
If you want to send a literal ';' you can use \; to do so. To send an entire line 'as is' you would start the line with a \'
space
Example: \say Hello ;) -- Lines starting with a '\' aren't parsed by tintin.
space
Example: say Hello \;) -- The escape character '\' can escape 1 letter.
space
Example: #config verbatim on -- Everything is send as is, unless it starts with a '#'
space
Example: #line substitute secure {say Hello ;)} -- Automatically escape special characters.
space
Carriage Return
space
When you issue a command a linefeed/carriage return is automatically added. To change this behavior end the line with a '\'
space
Example: #showme hi\
space
Example: #send look\
space
Command Files
space
Commands can be placed in files, which are subsequently called command files. You can read command files with the read, session, port, run, and ssl commands.
space
You can launch TinTin++ using 'tt++ <filename> to load a command file on startup. If you provide a filename using the session command the command file is only read if the session succesfully connects to the host.
space
The default command character is '#'. TinTin++ will set the command character to the first character found in a command file.
space
If you want to see more information while reading files use: #config {verbose} {on}
space
Keep in mind that every opening brace { you use in the file must be matched with a closing brace }. If you fail to do so you'll receive an error message and the file won't load.
space
You can save triggers, variables, and settings you've created using the #write command. Keep in mind that not all settings are saved. You can use #event {PROGRAM START} or #event {SESSION CREATED} to add initialization commands that are saved by #write.
space