New commands to Tintin++ v1.5:
retab tablist info
textin killall pathdir
suspend tabadd tabdelete
cr wildcard
Example:
(tab.txt contains)
Grimmy
Bamsemums
celebdel
tordenskjold
(you type)
tord <= Tintin++ will replace tord with tordenskjold.
New to v1.5, you can now add and delete words to the tablist, as well
as re-read an entirely new tab.txt file. For adding and deleting
words from the tab list, refer to the command syntax section further
on in the documentation.
Example:
#help <=#help is a command directed to the client and not
the mud.
All TINTIN commands can be abbreviated when typed.
Example:
#he <=typing #he is the same as typing #help
All commands can be separated with a ';'. The ';' is similar to
a newline char. This allows you to type multiple commands on one
line.
Example:
n;l green;s;say Dan Dare is back! <=do these 4 commands
There is a way the newline-char can be overruled, so that it will
appear in the output of a say or tell or whatever. By
pre-pending a backslash to the
';', you can do this.
Example:
say Hello \;) <=say Hello ;)
#action {%0 tells you %1} {say %0 just told me %1}
This action will, when anyone tells you something, echo it out
back to all the others in the room, via say.
Syntax: #action {trigger text} {stuff to be done} {priority}
Description: Have the client search for a certain string of text from
the mud, if the client receives that string, it will execute the
command(s). Variables %0-9 are substituted from the input string, and
can be used in the command(s) side of the command. Previously, all
actions were stored alphabetically in the list, which meant that some
of the important actions could exist at the end of the list (which
could result in slow reaction times for those actions).
Examples:
#action {Grimmy has arrived} {smile grimmy} {2}
If Grimmy enters the room, you will automatically smile at her. The
priority setting of two, means that it should be stored close to the
top of the list. (all actions with 1 and 0 set for priorities will be
checked before this one).
#action {^TICKCOUNTER: 5 seconds} {sleep} {0}
Since this string is 'anchored', it will only be triggered if it
starts at the beginning of a line. If your mud has a tickcounter set
up like this, this action will make you sleep at 5 seconds to tick.
#action
list all actions
#action *tell*
list all actions with the word 'tell' in them.
#action <= show actions
#action {ws} <= show action
#action {*ws*} <= show all actions that contain 'ws'
#unaction {ws} <= delete action
#unaction {*ws*} <= delete all actions that contain 'ws'
You can have tintin++ ignore the actions if you type '#ignore'.
Turn the ignoring off by typing '#ignore' again.
Syntax: #alias {} {}
Description: Alias is useful for replacing a large command or a
set of commands with just one word or set of words.
The variables %0, %1.. %9 contains the arguments to the
aliases-command as follows:
the %0 variable contains ALL the arguments.
the %1 variable contains the 1. argument
....
the %9 variable contains the 9. argument
Example: #alias {nice} {say Hello Mr %1}
typing: > nice Ole Bole
then %0 =Ole Bole
%1 =Ole
%2 =Bole
Thus the alias would be evaluated to: say Hello Mr Ole
If there are no variables on the right-side of the alias
definition, any arguments following the aliases-command will be
appended to the unaliases-command.
Example:
#alias {ff} {cast 'fireball'}
>ff mayor
evaluates to: cast 'fireball' mayor
To alias more than one command, just separate them by semicolons.
#alias {ws} {wake;stand} <=remember the ';'s inside {}s don't end
the argument.
Other examples:
#alias {eb} {get bread bag;eat bread} <=define alias
#alias {eb} <=show alias
#alias <=list all aliases
#alias {*eb*} <=show all aliases that contain 'eb'
#alias {eb*} <= show all aliases that start with 'eb'
To delete an alias use the #unalias command.
#unalias {eb} <=delete the eb alias.
#unalias {*eb*} <=remove any alias that contains 'eb'
WARNING! TINTIN++ doesn't check for recursive aliases! That is,
suppose you type something like: #alias {yo} {yo}
when do a: yo, then TINTIN++ goes into an endless loop.
Syntax:#all {}
Description: #all will send
Example:
#all {shout ARGH!!!} <= all sessions will shout 'ARGH!!!'.
Even if the sessions are connected to
different muds, the sessions will shout.
Syntax: #antisubstitute {}
Description: This command, will exclude the lines that contain
Example:
#antisubstitute {RECALL} <= Any line that contains 'RECALL' will
not be considered for gagging or
substituting.
Syntax: #bell
Description: Will ring the bell on your terminal. That is
assuming that your terminal can do this (Haven't seen one that
can't).
Example:
#bell <=will ring your bell
Syntax: #boss
Description: Your typical boss key/command. If someone walks
into the room, and you don't want them to notice that you are
mudding away, use the boss command. It will scroll the screen
with a bunch of junk that looks like to are tying to test a tree
sorting program.
Example:
#boss <= Will scroll junk on your screen.
Syntax: #char {}
Description: This command allows you to change the command char.
Example:
#char {/} <= will change the command char from '#', to '/'.
Syntax: #cr
Description: Sends a carriage return to the session. Useful for
aliases that need carriage returns.
Syntax: #echo
Description: A toggle for the echoing of action commands. While
echo is on, all actions triggered will be echo'ed to the screen.
Example:
#echo <= Turns echo on or off.
Syntax: #end
Description: The mother of all commands. This Command is you
ticket out of TinTin++. It will close all sessions, and return
you to your unix prompt.
Example:
#end <= Seeya.. You just exited TinTin++.
Syntax: #gag {}
Description: #gag will gag any line that contains
Example:
#gag {has arrived.} <= Any line that comes to you from the mud
that contains "has arrived." will not be
shown to you.
Syntax: #help
Description: Will display all commands available.
Example:
#help <= There ya go.. All commands will be displayed.
#help <= Will give you extensive help in command.
Syntax: #highlight {} {}
Description: All occurrences of
Example:
#highlight {bold} {obliterates} <= 'obliterates' in attack
messages will be in a bold
#highlight {red, blink} {Grimmy} <= 'Grimmy' will appear in a
blinking red color.
Some systems don't offer all colors/styles for vt100, so your milage
may vary on this one. (I know for SGI's running IRIX v4.0.5C, half of
the colors/styles don't work due to lack of support in the term file)
Syntax: #history
Description: This will show you the last 30 commands you typed.
You can use these in what is called 'History Substitution'.
Let's say you type '#history' and this is what you get:
14 look
13 s
12 w;chuckle
11 say Sorry.. I went the wrong way.. :)
10 cast 'heal' eto
9 pow Urquan
8 cuddle urquan
7 say Ohh.. that had to of left a mark.. You ok Urquan??
6 smile urquan
5 tell urquan You're young.. You'll adjust.. :-)
4 tell valgar can't we work Urquan a little harder??
3 cackle
2 pow tossa
1 pat tossa
0 #history
'History Substitution', if you don't want to retype one of the
30 previous lines, you can just type:
!<# of line to repeat>
or !
an example of this would be: !4. That would tell valgar once
more that can't we get Urquan... If you typed !
Example:
#history <= Shows last 30 commands.
Syntax: #if {conditional} {command(s)}
Description: The if command is one of the most powerful commands
added since TINTINv3. It works similar to an if statement in
other languages, and is loosely based on the way C handles its
conditional statements. When an if command is encountered, the
conditional statement is evaluated, and if TRUE (any non-zero
result) the command(s) are executed. The if statement is only
evaluated if it is read, so you must nest the if statement inside
another statement (most likely an action command). The
conditional is evaluated exactly the same as in the math
command, only instead of storing the result, the result is used
to determine whether to execute the command(s). '#help math' for
more information.
Limitations: #if is not capable of comparing string values at this
time. This implementation is slated for the v2.0 release.
Examples:
#action {%0 gives you %1 gold coins} {#if {%%1>5000} {thank %%0}}
if someone gives you more than 5000 coins, thank them.
the %%1 and %%0 belong to the action, and not to the if, and that
is why the double % are needed.
#action {^
If your status prompt is of the form , this
action will get your hit points, compare them to 100, if less
than 100, flee. Note though, that you will continue to flee,
because your prompt will still show your hp < 100. By using some
logic, you can add a trigger variable to help control this. Look
at the following:
(This need to be created beforehand)
#variable {trigfl} {0}
#alias resetflee {#var trigfl 0}
#alias setflee {#var trigfl 1}
(Now the action)
#action {^hp:%0 } {#if {(%%0<100) && ($trigfl=0)} {setflee;flee}
This action, upon receiving a prompt of less than 100 hp's, will
check to see if you have already fled (trigfl). If you have not,
then you will set the trigger, so that you won't flee for
infinity, and then make you flee once. Remember though, that
once your hp's are greater than 100 again, that to reset the
trigger, so that it will work for you once again.. :)
Ignore
Syntax: #ignore
Description: This will toggle whether or not you want your
actions to be triggered or not. New for v1.5, #ignore only affects
the current session.
Example:
#ignore <= Toggles it on or off..
Killall
Syntax: #killall
Description: Killall deletes all aliases, actions, subs, antisubs,
highlights, variables in one fell swoop. Useful now, so you don't
have to exit tintin++ to load up a new coms file.
Log
Syntax: #log {}
Description: Will record all input and output of session to
.
Example:
#log grimmy.log <= starts log...
... <= playing, having fun...
#log grimmy.log <= ends log...
Loop
Syntax: #loop {#from,#to} {}
Description: #loop will run a command in a loop, and
assign the numbers ranging from #from to #to in
variable %0 for use in {}.
Example:
#loop {1,5} {get all %0.corpse} <= will get all
corpses ranging from
1.corpse to 5.corpse.
Map
Syntax: #map
Description: Will add a direction to the end of the current
path. Useful for mapping while following someone.
Example:
#action {$leader leaves %0.} {#map {%%0}}
if the person stored in $leader leaves the room, the direction is
added to the end of the path.
Mark
Syntax: #mark
Description: For speedwalking, this commands marks the beginning
of the path.
Example:
#mark <= There ya go. You marked the beginning of the path.
Math
Syntax: #math {>var<>} {>math ops<}
Description: This will allow you to do math operations on
variables or just plain old numbers, and stores the result in
>var<. All numbers should be integers, for it only performs
integer math.
Example:
Let's say you have a variable $mana, which equals the amount of
mana you have. You then could do:
#math {heals} {$mana/40} <= takes $mana/40 and applies result to
variable 'heals'.
I have an extensive example of math used in a coms file that is
shipped to you with the package.
Message
Syntax: #message {}
Description: This toggles whether messages concerning these types
of commands will be displayed. If off, it will get rid of the
defined/deleted messages for that command type.
Valid types are alias, action, substitute, antisubstitute,
highlight, or variable.
Example:
If you wish to see no messages concerning variables, you can type
#message {variable}
and you wont see messages like variable defined, etc...
The same holds for the other types of messages.
#NAME
Syntax: #
Description: Will send to
Example:
#grim shout Peach Pit now closing.. <= makes session 'grim'
shout 'Peach Pit now
closing..'
#< number >
Syntax: # {Commands}
Description: This allows you to do repetitive commands nice and
easily.
Example:
#5 {buy bread;put bread bag} <= will buy 5 breads, and put 5
breads in a bag.
#2 {#g cast 'power' urquan} <= This will make the character in
session 'g' cast 'power' on urquan
2 times.
Nop
Syntax: #nop
Description: #nop is similar to a remark statement. You can use
#nop to make comments.
Example:
#nop fleetr = flee trigger <= just gives an explanation of
what fleetr stands for.
Path
Syntax: #path
Description: This will display the path you have traveled from the
#mark'ed beginning.
Example:
#path <= displays current path traveled from #mark onward.
Pathdir
Syntax: #pathdir {text to send to mud for odd_dir}
New for v1.5
Description: This command allows the user to enter odd directions, so
that speedwalk can interpret these directions and send the right text
to the mud.
Example:
#pathdir {nw} {nw} <= Will send {nw} to the mud anytime {nw} is seen
in a speedwalk expression.
Presub
Syntax: #presub
Description: Will toggle whether or not substituted output can trigger
actions. For example, let's say you have done the following:
#sub {%0tells you %1BLEEDING%2} {%0tries to make you BLEED.}
then, you have:
#action {%0 tried to make you BLEED.} {tell %0 Oh. I'm scared.}
If presub is off, this action will never get triggered. In order to
get this trigger to work, you must also activate presubs.
Example:
#presub <= turns it on or off.
Read
Syntax: #read {}
Description: This will read in a coms file, and setup the
commands in the file.
The new command char will become whatever was the first character in
this coms file. If your coms file starts with anything other than
your command char, put a nop at the beginning.
Example:
#read grimmy <= read in coms file named 'grimmy'.
Redraw
Syntax: #redraw
Description: If redraw is on, and you're not in split mode, the
input line will be redrawn when any text arrives, or tintin++
prints any messages. This helps you avoid your input being
spread out and unreadable when there is heavy text flow from the
mud. In split mode, this variable is ignored.
Example:
#redraw <= turns it on. use same command to turn off.
Retab
Syntax: #retab
New for v1.5
Description: Will load in tab.txt. Useful if you have made major
modifications to tab.txt externally, and wish to update your tab
completion list.
Return
Syntax: #return
Description: This will make you back up in the opposite direction
of what you last typed.
Example:
#mark <= Start tracking my path.
.... <= doing some walking.. Where your last direction
walked was n for example.
#return <= will remove n from path and move you south.
Savepath
Syntax: #savepath
Description: #savepath will save what is in the current
#path, to an alias.
Example:
#savepath to-solus <= will save what is in #path to a new alias
called {to-solus}.
Session
Syntax: #session {} { }
Description: This is the command you use to connect to the muds.
The session that you startup will become the active session. That
is, all commands you type, will be send to this session.
Here's a small example to get you started:
It shows how you can log into GrimneMUD with 2 chars and play a bit
with them.
#session {valgar} {129.241.36.229 4000} <= define a session named
'valgar'.
#session {eto} {gytje.pvv.unit.no 4000} <= define session named
eto.
You can change the active session, by typing #sessionname
#eto <=make the char in the 'eto' session the active one.
... <= all commands now go to session 'eto'.
#valgar <=switching now to session 'valgar'.
If you enter the command '#session' without any arguments, you
will list all sessions, and it will show which is active and
which are being logged.
Showme
Syntax: #showme {}
Description will display on your screen, without the text
being seen by the rest of the players in the room.
Example:
#action {^%0*** ULTRASLAYS *** you} {#showme {Bail Out!!!}}
Each time you get *** ULTRASLAYED *** the text Bail Out!!! will
be shown on your screen.
Snoop
Syntax: #snoop
Description: Initiate snooping of session . All
text directed to will be displayed on your
current, active session. Of course.. You won't see any snooping
if the session you are snooping is the active session.. :)
Example:
I'm in session name 'Tossa' and I want to see all text in an
other session I have going. I would type:
#snoop grim <= start snooping session 'grim' while being
active in 'Tossa'.
Speedwalk
Syntax: #speedwalk
Description: Toggles whether 'speedwalking' is on or off.
Speedwalking is the ability to type multiple directions in one
long word. For repetitive directions, you can place a # in
front of it, for example like 4nwne2d = nnnnwnedd.
Example:
#speedwalk <= turns speedwalk either on or off.
Now.. if you type the following:
nwseud <= while speedwalking on, you will travel north, west,
south, east, up, then down. While you have
speedwalking on, you won't be able to type 'news' to
read the news on the mud, in order to read the news
type in 'NEWS' in capital letters. Speedwalking will
not interpret capital letters, and send the text 'NEWS'
to the mud.
Split
Syntax: #split {# of lines for output window}
Description: With a vt100 or ANSI emulator, this will allow you
to set up a split screen. The keyboard input will be displayed
in the bottom window, while mud text is displayed in the upper
window. This requires a fairly decent emulator, but works on
most I have tested. The screen will be split at the line
indicated by line #, and should be around 3 lines above the
bottom of the screen. When the enter key is pressed, the text
will be sent to the mud, and also be echoed to the upper window.
If a line # isn't specified, the screen is split at line 21.
Example:
#split 35 <= split the screen at line 35.
Substitute
Syntax: #substitute {} {text to replace it}
Description: Use this for shortening incoming text to a more
readable format.
This command works a bit like #action. The purpose of this
command is to substitute text from the mud with some text you
provide. You can think of this command, as a kind of extended
gag-command.
Examples:
Suppose you want all the occurrences of the word 'massacres' to be
substituted
with '*MASSACRES*'. Then you'll type:
#subs {%0massacres%1} {%0*MASSACRES*%1}
Now suppose the mud sends you the line: Winterblade massacres the
.
Then your substitution would get triggered and the variables
would contain:
%0 = Winterblade
%1 = the .
Substituted into the line is then:
Winterblade *MASSACRES* the .
There IS in fact a serious purpose for this command. People using
a setup like:
Home <---- SLOW modem ---> School <---- FASTmodem ----> mud site
UNin that they keep loosing their link, when the mud
sends to much text too fast (as in fights on grimne-diku for
example). The problem is that their own modem is too slow for
the transfer. People like that can use the #sub command to reduce
the amount of data transferred.
If you didn't want to see anything from the lines with Black
you'd do a:
#sub {Black} {.} (i never liked this dot syntax...)
or
#gag {Black}
and you'll never see the lines.
#gag works just like #sub but it puts the {.} in for you.
Suspend
Syntax: #suspend
New for v1.5
Description: Temporarily suspends tintin++ and returns you to your
shell. The effect of this command is exactly as if you had typed
control-z. To return to tintin++, type "fg" at the shell prompt.
System
Syntax: #system
Description: Send system commands to the sh shell.
For security reasons, you can change the name of this command
in tintin.h
Example:
#system w <= runs the command w which will show who is on and the
system load of the machine.
Tabadd
Syntax: #tabadd {word}
New for v1.5
Description: Adds a word to the end of the tab completion list.
Tabdelete
Syntax: #tabdelete {word}
New for v1.5
Description: Deletes a word from the tab completion list.
Tablist
Syntax: #tablist
New for v1.5
Description: Displays all words in the tab completion list.
Textin
Syntax: #textin {filename}
New for v1.5
Description: Textin now allows the user to read in a file, and send
its contents directly to the mud. Useful for doing online creation,
or message writing.
Tick
Syntax: #tick
Description: Displays the # of seconds left before a tick is to
occur in the internal tickcounter of TinTin.
Example:
#tick <= displays # of seconds left before tick.
Tickon/Tickoff
Syntax: #tickon/#tickoff
Description: Turns on the internal tickcounter, or turns off the
internal tickcounter.
Example:
#tickon <= Turns the tickcounter on, also resets the
tickcounter to the value defined by the #ticksize.
Default size is 75 seconds.
#tickoff <= turns the internal tickcounter off.
Tickset
Syntax: #tickset
Description: Turn the internal tickcounter on, and resets the
counter to the size of the tickcounter.
Example:
#tickset <= Turn tickcounter on and reset.
Ticksize
Syntax: #ticksize
Description: defines the ticksize for the mud you are playing at.
Most standard Diku's use a ticksize of 75 seconds. I believe
(Although I might be wrong), MERC's use ticksizes of 30 seconds.
This is where it is useful, for there is not tickcounter built
into MERC.
Example:
#ticksize 30 <= sets ticksize to 30 for MERC muds.. for
example.
Togglesubs
Syntax: #togglesubs
Description: Similar to #ignore, #togglesubs will toggle whether
or not subs will occur or not.
Example:
#togglesub <= turns it on or off.
Unaction
Syntax: #unaction {}
Description: Similar to unalias except for actions.
Example:
Unalia
Syntax: #unalias {}
Description: This command deletes aliases from memory in the
active session. You can use wildcards to get rid of aliases with
common text.
Example:
#unalias {eb} <= delete the eb alias.
#unalias {*eb*} <= remove any alias that contains 'eb'
#unalias {eb*} <= removes any alias that starts with 'eb'.
Unantisub
Syntax: #unantisub {}
Description: Similar to Unalias except for antisubs.
Example:
Ungag
Syntax: #ungag {}
Example:
Unhighlight
Syntax: #
This HTML page is designed for Netscape Navigator by
Asko Seeba
Back to Stonia homepage