|
@@ -21,20 +21,20 @@ a:active {color:#b06}
|
|
|
<a href='#CONFIG'> CONFIG</a> <a href='#CONTINUE'> CONTINUE</a> <a href='#CR'> CR</a> <a href='#CURSOR'> CURSOR</a> <a href='#DAEMON'> DAEMON</a>
|
|
<a href='#CONFIG'> CONFIG</a> <a href='#CONTINUE'> CONTINUE</a> <a href='#CR'> CR</a> <a href='#CURSOR'> CURSOR</a> <a href='#DAEMON'> DAEMON</a>
|
|
|
<a href='#DEBUG'> DEBUG</a> <a href='#DEFAULT'> DEFAULT</a> <a href='#DELAY'> DELAY</a> <a href='#DRAW'> DRAW</a> <a href='#ECHO'> ECHO</a>
|
|
<a href='#DEBUG'> DEBUG</a> <a href='#DEFAULT'> DEFAULT</a> <a href='#DELAY'> DELAY</a> <a href='#DRAW'> DRAW</a> <a href='#ECHO'> ECHO</a>
|
|
|
<a href='#ELSE'> ELSE</a> <a href='#ELSEIF'> ELSEIF</a> <a href='#END'> END</a> <a href='#ESCAPE CODES'> ESCAPE CODES</a> <a href='#EVENT'> EVENT</a>
|
|
<a href='#ELSE'> ELSE</a> <a href='#ELSEIF'> ELSEIF</a> <a href='#END'> END</a> <a href='#ESCAPE CODES'> ESCAPE CODES</a> <a href='#EVENT'> EVENT</a>
|
|
|
- <a href='#FORALL'> FORALL</a> <a href='#FOREACH'> FOREACH</a> <a href='#FORMAT'> FORMAT</a> <a href='#FUNCTION'> FUNCTION</a> <a href='#GAG'> GAG</a>
|
|
|
|
|
- <a href='#GREETING'> GREETING</a> <a href='#GREP'> GREP</a> <a href='#HELP'> HELP</a> <a href='#HIGHLIGHT'> HIGHLIGHT</a> <a href='#HISTORY'> HISTORY</a>
|
|
|
|
|
- <a href='#IF'> IF</a> <a href='#IGNORE'> IGNORE</a> <a href='#INDEX'> INDEX</a> <a href='#INFO'> INFO</a> <a href='#KEYPAD'> KEYPAD</a>
|
|
|
|
|
- <a href='#KILL'> KILL</a> <a href='#LINE'> LINE</a> <a href='#LIST'> LIST</a> <a href='#LISTS'> LISTS</a> <a href='#LOCAL'> LOCAL</a>
|
|
|
|
|
- <a href='#LOG'> LOG</a> <a href='#LOOP'> LOOP</a> <a href='#MACRO'> MACRO</a> <a href='#MAP'> MAP</a> <a href='#MAPPING'> MAPPING</a>
|
|
|
|
|
- <a href='#MATH'> MATH</a> <a href='#MATHEMATICS'> MATHEMATICS</a> <a href='#MESSAGE'> MESSAGE</a> <a href='#METRIC SYSTEM'> METRIC SYSTEM</a> <a href='#MSDP'> MSDP</a>
|
|
|
|
|
- <a href='#MSLP'> MSLP</a> <a href='#NOP'> NOP</a> <a href='#PARSE'> PARSE</a> <a href='#PATH'> PATH</a> <a href='#PATHDIR'> PATHDIR</a>
|
|
|
|
|
- <a href='#PCRE'> PCRE</a> <a href='#PORT'> PORT</a> <a href='#PROMPT'> PROMPT</a> <a href='#READ'> READ</a> <a href='#REGEXP'> REGEXP</a>
|
|
|
|
|
- <a href='#REPEAT'> REPEAT</a> <a href='#REPLACE'> REPLACE</a> <a href='#RETURN'> RETURN</a> <a href='#RUN'> RUN</a> <a href='#SCAN'> SCAN</a>
|
|
|
|
|
- <a href='#SCREEN'> SCREEN</a> <a href='#SCREEN READER'> SCREEN READER</a> <a href='#SCRIPT'> SCRIPT</a> <a href='#SEND'> SEND</a> <a href='#SESSION'> SESSION</a>
|
|
|
|
|
- <a href='#SESSIONNAME'> SESSIONNAME</a> <a href='#SHOWME'> SHOWME</a> <a href='#SNOOP'> SNOOP</a> <a href='#SPEEDWALK'> SPEEDWALK</a> <a href='#SPLIT'> SPLIT</a>
|
|
|
|
|
- <a href='#SSL'> SSL</a> <a href='#STATEMENTS'> STATEMENTS</a> <a href='#SUBSTITUTE'> SUBSTITUTE</a> <a href='#SUSPEND'> SUSPEND</a> <a href='#SWITCH'> SWITCH</a>
|
|
|
|
|
- <a href='#SYSTEM'> SYSTEM</a> <a href='#TAB'> TAB</a> <a href='#TEXTIN'> TEXTIN</a> <a href='#TICKER'> TICKER</a> <a href='#TIME'> TIME</a>
|
|
|
|
|
- <a href='#VARIABLE'> VARIABLE</a> <a href='#WHILE'> WHILE</a> <a href='#WRITE'> WRITE</a> <a href='#ZAP'> ZAP</a>
|
|
|
|
|
|
|
+ <a href='#FOREACH'> FOREACH</a> <a href='#FORMAT'> FORMAT</a> <a href='#FUNCTION'> FUNCTION</a> <a href='#GAG'> GAG</a> <a href='#GREETING'> GREETING</a>
|
|
|
|
|
+ <a href='#GREP'> GREP</a> <a href='#HELP'> HELP</a> <a href='#HIGHLIGHT'> HIGHLIGHT</a> <a href='#HISTORY'> HISTORY</a> <a href='#IF'> IF</a>
|
|
|
|
|
+ <a href='#IGNORE'> IGNORE</a> <a href='#INDEX'> INDEX</a> <a href='#INFO'> INFO</a> <a href='#KEYPAD'> KEYPAD</a> <a href='#KILL'> KILL</a>
|
|
|
|
|
+ <a href='#LINE'> LINE</a> <a href='#LIST'> LIST</a> <a href='#LISTS'> LISTS</a> <a href='#LOCAL'> LOCAL</a> <a href='#LOG'> LOG</a>
|
|
|
|
|
+ <a href='#LOOP'> LOOP</a> <a href='#MACRO'> MACRO</a> <a href='#MAP'> MAP</a> <a href='#MAPPING'> MAPPING</a> <a href='#MATH'> MATH</a>
|
|
|
|
|
+ <a href='#MATHEMATICS'> MATHEMATICS</a> <a href='#MESSAGE'> MESSAGE</a> <a href='#METRIC SYSTEM'> METRIC SYSTEM</a> <a href='#MSDP'> MSDP</a> <a href='#MSLP'> MSLP</a>
|
|
|
|
|
+ <a href='#NOP'> NOP</a> <a href='#PARSE'> PARSE</a> <a href='#PATH'> PATH</a> <a href='#PATHDIR'> PATHDIR</a> <a href='#PCRE'> PCRE</a>
|
|
|
|
|
+ <a href='#PORT'> PORT</a> <a href='#PROMPT'> PROMPT</a> <a href='#READ'> READ</a> <a href='#REGEXP'> REGEXP</a> <a href='#REPEAT'> REPEAT</a>
|
|
|
|
|
+ <a href='#REPLACE'> REPLACE</a> <a href='#RETURN'> RETURN</a> <a href='#RUN'> RUN</a> <a href='#SCAN'> SCAN</a> <a href='#SCREEN'> SCREEN</a>
|
|
|
|
|
+ <a href='#SCREEN READER'> SCREEN READER</a> <a href='#SCRIPT'> SCRIPT</a> <a href='#SEND'> SEND</a> <a href='#SESSION'> SESSION</a> <a href='#SESSIONNAME'> SESSIONNAME</a>
|
|
|
|
|
+ <a href='#SHOWME'> SHOWME</a> <a href='#SNOOP'> SNOOP</a> <a href='#SPEEDWALK'> SPEEDWALK</a> <a href='#SPLIT'> SPLIT</a> <a href='#SSL'> SSL</a>
|
|
|
|
|
+ <a href='#STATEMENTS'> STATEMENTS</a> <a href='#SUBSTITUTE'> SUBSTITUTE</a> <a href='#SUSPEND'> SUSPEND</a> <a href='#SWITCH'> SWITCH</a> <a href='#SYSTEM'> SYSTEM</a>
|
|
|
|
|
+ <a href='#TAB'> TAB</a> <a href='#TEXTIN'> TEXTIN</a> <a href='#TICKER'> TICKER</a> <a href='#TIME'> TIME</a> <a href='#VARIABLE'> VARIABLE</a>
|
|
|
|
|
+ <a href='#WHILE'> WHILE</a> <a href='#WRITE'> WRITE</a> <a href='#ZAP'> ZAP</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name='ACTION'></a>
|
|
<a name='ACTION'></a>
|
|
@@ -58,11 +58,11 @@ a:active {color:#b06}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #action {%1 tells you '%2'} {tell %1 I'm afk.}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #action {%1 tells you '%2'} {tell %1 I'm afk.}
|
|
|
|
|
|
|
|
- Actions can be triggered by the showme command and certain system
|
|
|
|
|
|
|
+ Actions can be triggered by the show command and certain system
|
|
|
messages.
|
|
messages.
|
|
|
|
|
|
|
|
- Actions can be triggered by the #showme command. If you don't want a
|
|
|
|
|
- #showme to get triggered use: #line ignore #showme {text}
|
|
|
|
|
|
|
+ Actions can be triggered by the #show command. If you don't want a
|
|
|
|
|
+ #show to get triggered use: #line ignore #show {text}
|
|
|
|
|
|
|
|
Actions are ordered alphabetically and only one action can trigger at
|
|
Actions are ordered alphabetically and only one action can trigger at
|
|
|
a time. To change the order you can assign a priority, which defaults
|
|
a time. To change the order you can assign a priority, which defaults
|
|
@@ -103,7 +103,7 @@ a:active {color:#b06}
|
|
|
|
|
|
|
|
To have an alias that matches all user input, use %* as the name.
|
|
To have an alias that matches all user input, use %* as the name.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #alias {%*} {#showme You wrote: %0}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #alias {%*} {#show You wrote: %0}
|
|
|
|
|
|
|
|
Aliases are ordered alphabetically and only one alias can trigger at
|
|
Aliases are ordered alphabetically and only one alias can trigger at
|
|
|
a time. To change the order you can assign a priority, which defaults
|
|
a time. To change the order you can assign a priority, which defaults
|
|
@@ -165,7 +165,7 @@ a:active {color:#b06}
|
|
|
It's possible to adjust the alarm bell volume on some terminals.
|
|
It's possible to adjust the alarm bell volume on some terminals.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #loop {1} {8} {cnt} {#line substitute variables
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #loop {1} {8} {cnt} {#line substitute variables
|
|
|
- #delay {$cnt} {#showme Volume $cnt: #bell volume $cnt;#bell}
|
|
|
|
|
|
|
+ #delay {$cnt} {#show Volume $cnt: #bell volume $cnt;#bell}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#SCREEN'>screen</a>
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#SCREEN'>screen</a>
|
|
|
<a name='BREAK'></a>
|
|
<a name='BREAK'></a>
|
|
@@ -269,7 +269,7 @@ a:active {color:#b06}
|
|
|
This command draws no visible button, you'll have to do so separately
|
|
This command draws no visible button, you'll have to do so separately
|
|
|
if needed.
|
|
if needed.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #button {1;1;2;2} {#showme You clicked the upper left corner.}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #button {1;1;2;2} {#show You clicked the upper left corner.}
|
|
|
|
|
|
|
|
Buttons are ordered alphabetically and only one button can trigger at
|
|
Buttons are ordered alphabetically and only one button can trigger at
|
|
|
a time. To change the order you can assign a priority, which defaults
|
|
a time. To change the order you can assign a priority, which defaults
|
|
@@ -499,8 +499,8 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
<caf> - Violet <cfa> - Lime
|
|
<caf> - Violet <cfa> - Lime
|
|
|
<fac> - Pink <fca> - Orange
|
|
<fac> - Pink <fca> - Orange
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #showme <acf>Azure <afc>Jade <caf>Violet
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #showme <cfa>Lime <fac>Pink <fca>Orange
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #show <acf>Azure <afc>Jade <caf>Violet
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #show <cfa>Lime <fac>Pink <fca>Orange
|
|
|
|
|
|
|
|
For 12 bit truecolor use <F000> to <FFFF> for foreground colors and
|
|
For 12 bit truecolor use <F000> to <FFFF> for foreground colors and
|
|
|
<B000> to <BFFF> for background colors.
|
|
<B000> to <BFFF> for background colors.
|
|
@@ -661,7 +661,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
the conditional argument of non of the case commands matches the switch
|
|
the conditional argument of non of the case commands matches the switch
|
|
|
command's conditional statement the default command is executed.
|
|
command's conditional statement the default command is executed.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEX'>regex</a>.
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEXP'>regexp</a>.
|
|
|
<a name='DELAY'></a>
|
|
<a name='DELAY'></a>
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> DELAY
|
|
</span><span style='color:#5F5'> DELAY
|
|
@@ -675,7 +675,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
|
|
|
|
|
Floating point precision for milliseconds is possible.
|
|
Floating point precision for milliseconds is possible.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #showme first;#delay {1} {#showme last}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #show first;#delay {1} {#show last}
|
|
|
This will print 'first', and 'last' around one second later.
|
|
This will print 'first', and 'last' around one second later.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: If you want to remove a delay with the #undelay command you can add
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: If you want to remove a delay with the #undelay command you can add
|
|
@@ -712,6 +712,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
CONVERT will draw text with meta conversion.
|
|
CONVERT will draw text with meta conversion.
|
|
|
CROSSED will cross the corners.
|
|
CROSSED will cross the corners.
|
|
|
CURSIVE will draw text with cursive letters.
|
|
CURSIVE will draw text with cursive letters.
|
|
|
|
|
+ FAT will draw text with fat letters.
|
|
|
FILLED will fill circles and jewels.
|
|
FILLED will fill circles and jewels.
|
|
|
GRID will draw TABLE as a grid.
|
|
GRID will draw TABLE as a grid.
|
|
|
HORIZONTAL will draw horizontal if possible.
|
|
HORIZONTAL will draw horizontal if possible.
|
|
@@ -767,7 +768,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
|
|
|
|
|
The echo command does not trigger actions.
|
|
The echo command does not trigger actions.
|
|
|
|
|
|
|
|
- As with the #showme command you can split the {format} argument up into
|
|
|
|
|
|
|
+ As with the #show command you can split the {format} argument up into
|
|
|
two braced arguments, in which case the 2nd argument is the row number.
|
|
two braced arguments, in which case the 2nd argument is the row number.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #echo {The current date is %t.} {%Y-%m-%d %H:%M:%S}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #echo {The current date is %t.} {%Y-%m-%d %H:%M:%S}
|
|
@@ -786,7 +787,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #if {1d2 == 1} {smile};#else {grin}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #if {1d2 == 1} {smile};#else {grin}
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEX'>regex</a>.
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEXP'>regexp</a>.
|
|
|
<a name='ELSEIF'></a>
|
|
<a name='ELSEIF'></a>
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> ELSEIF
|
|
</span><span style='color:#5F5'> ELSEIF
|
|
@@ -799,7 +800,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #if {1d3 == 1} {smirk};#elseif {1d2 == 1} {snicker}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #if {1d3 == 1} {smirk};#elseif {1d2 == 1} {snicker}
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEX'>regex</a>.
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#IF'>if</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEXP'>regexp</a>.
|
|
|
<a name='END'></a>
|
|
<a name='END'></a>
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> END
|
|
</span><span style='color:#5F5'> END
|
|
@@ -848,8 +849,13 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
a brief description. Use #event %* to see the current list of defined
|
|
a brief description. Use #event %* to see the current list of defined
|
|
|
events. Use #info {events} {on} to see events get thrown.
|
|
events. Use #info {events} {on} to see events get thrown.
|
|
|
|
|
|
|
|
|
|
+ To enable mouse events use #config mouse_tracking on, to see mouse
|
|
|
|
|
+ events use #config mouse_tracking info.
|
|
|
|
|
+
|
|
|
Some events can be prefixed with CATCH to interrupt default behavior.
|
|
Some events can be prefixed with CATCH to interrupt default behavior.
|
|
|
|
|
|
|
|
|
|
+ Some events can be prefixed with GAG to gag default messages.
|
|
|
|
|
+
|
|
|
CATCH <EVENT>
|
|
CATCH <EVENT>
|
|
|
CHAT MESSAGE %0 default %1 plain
|
|
CHAT MESSAGE %0 default %1 plain
|
|
|
CLASS ACTIVATED %0 class name
|
|
CLASS ACTIVATED %0 class name
|
|
@@ -858,6 +864,7 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
DAY <DAY> %3 day of the month
|
|
DAY <DAY> %3 day of the month
|
|
|
DOUBLE-CLICKED <VAR> %0 row %1 col %2 -row %3 -col %4 word %5 line
|
|
DOUBLE-CLICKED <VAR> %0 row %1 col %2 -row %3 -col %4 word %5 line
|
|
|
END OF PATH
|
|
END OF PATH
|
|
|
|
|
+ GAG <EVENT>
|
|
|
HOUR %4 hour
|
|
HOUR %4 hour
|
|
|
IAC <VAR> <VAR>
|
|
IAC <VAR> <VAR>
|
|
|
IAC SB GMCP <MODULE> %0 data %1 raw data
|
|
IAC SB GMCP <MODULE> %0 data %1 raw data
|
|
@@ -867,7 +874,12 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
IAC SB NEW-ENVIRON %0 variable %1 value
|
|
IAC SB NEW-ENVIRON %0 variable %1 value
|
|
|
IAC SB ZMP <VAR> %0 value
|
|
IAC SB ZMP <VAR> %0 value
|
|
|
IAC SB <VAR> %0 raw text %1 raw data
|
|
IAC SB <VAR> %0 raw text %1 raw data
|
|
|
|
|
+ KEYPRESS %0 character %1 unicode index
|
|
|
LONG-CLICKED <VAR> %0 row %1 col %2 -row %3 -col %4 word %5 line
|
|
LONG-CLICKED <VAR> %0 row %1 col %2 -row %3 -col %4 word %5 line
|
|
|
|
|
+ MAP CREATE EXIT %0 vnum %1 exit name %2 exit cmd %3 exit vnum
|
|
|
|
|
+ MAP CREATE ROOM %0 vnum %1 name
|
|
|
|
|
+ MAP DELETE EXIT %0 vnum %1 exit name %2 exit cmd %3 exit vnum
|
|
|
|
|
+ MAP DELETE ROOM %0 vnum %1 name
|
|
|
MAP ENTER MAP %0 new vnum
|
|
MAP ENTER MAP %0 new vnum
|
|
|
MAP ENTER ROOM %0 new vnum %1 old vnum
|
|
MAP ENTER ROOM %0 new vnum %1 old vnum
|
|
|
MAP ENTER ROOM <VAR> %0 new vnum %1 old vnum
|
|
MAP ENTER ROOM <VAR> %0 new vnum %1 old vnum
|
|
@@ -875,7 +887,9 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
MAP EXIT ROOM %0 old vnum %1 new vnum
|
|
MAP EXIT ROOM %0 old vnum %1 new vnum
|
|
|
MAP EXIT ROOM <VAR> %0 old vnum %1 new vnum
|
|
MAP EXIT ROOM <VAR> %0 old vnum %1 new vnum
|
|
|
MAP FOLLOW MAP %0 old vnum %1 new vnum %2 exit name
|
|
MAP FOLLOW MAP %0 old vnum %1 new vnum %2 exit name
|
|
|
- MAP MOUSE LOCATION %0 vnum %1 location
|
|
|
|
|
|
|
+ MAP MOUSE LOCATION %2 -row %3 -col %5 vnum %6 info
|
|
|
|
|
+ MAP REGION %0 row %1 col %2 -row %3 -col %5 vnum %6 info
|
|
|
|
|
+ MAP ROOM %0 row %1 col %2 -row %3 -col %5 vnum %6 info
|
|
|
MAP UPDATED VTMAP
|
|
MAP UPDATED VTMAP
|
|
|
MINUTE %5 minute
|
|
MINUTE %5 minute
|
|
|
MONTH %1 month
|
|
MONTH %1 month
|
|
@@ -938,13 +952,6 @@ Related</span><span style='color:#AAA'>: <a href='#PORT'>port</a>
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove an event with the #unevent command.
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove an event with the #unevent command.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#BUTTON'>button</a>, <a href='#DELAY'>delay</a> and <a href='#TICKER'>ticker</a>.
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#BUTTON'>button</a>, <a href='#DELAY'>delay</a> and <a href='#TICKER'>ticker</a>.
|
|
|
-<a name='FORALL'></a>
|
|
|
|
|
-
|
|
|
|
|
-</span><span style='color:#5F5'> FORALL
|
|
|
|
|
-
|
|
|
|
|
-</span><span style='color:#FFF'>This command is obsolete, please use foreach instead.
|
|
|
|
|
-
|
|
|
|
|
-Related</span><span style='color:#AAA'>: <a href='#FOREACH'>foreach</a>
|
|
|
|
|
<a name='FOREACH'></a>
|
|
<a name='FOREACH'></a>
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> FOREACH
|
|
</span><span style='color:#5F5'> FOREACH
|
|
@@ -966,8 +973,8 @@ Related</span><span style='color:#AAA'>: <a href='#FOREACH'>foreach</a>
|
|
|
</span><span style='color:#FFF'>Command</span><span style='color:#AAA'>: #format </span><span style='color:#FFF'>{</span><span style='color:#AAA'>variable</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>format</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>argument1</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>argument2</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>etc</span><span style='color:#FFF'>}</span><span style='color:#AAA'>
|
|
</span><span style='color:#FFF'>Command</span><span style='color:#AAA'>: #format </span><span style='color:#FFF'>{</span><span style='color:#AAA'>variable</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>format</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>argument1</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>argument2</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>etc</span><span style='color:#FFF'>}</span><span style='color:#AAA'>
|
|
|
|
|
|
|
|
Allows you to store a string into a variable in the exact same way
|
|
Allows you to store a string into a variable in the exact same way
|
|
|
- C's sprintf works with a few enhancements and limitations such as
|
|
|
|
|
- no integer operations and a maximum of 30 arguments.
|
|
|
|
|
|
|
+ C's sprintf works with a few enhancements and limitations like a
|
|
|
|
|
+ maximum of 30 arguments.
|
|
|
|
|
|
|
|
If you use #format inside an alias or action you must escape %1s as
|
|
If you use #format inside an alias or action you must escape %1s as
|
|
|
%+1s or %%1s or %\1s so the %1 isn't substituted by the trigger.
|
|
%+1s or %%1s or %\1s so the %1 isn't substituted by the trigger.
|
|
@@ -1030,10 +1037,10 @@ Related</span><span style='color:#AAA'>: <a href='#FOREACH'>foreach</a>
|
|
|
in %1 to %9, with %0 holding all arguments.
|
|
in %1 to %9, with %0 holding all arguments.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #function {rnd} {#math {result} {1 d (%2 - %1 + 1) + %1 - 1}}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #function {rnd} {#math {result} {1 d (%2 - %1 + 1) + %1 - 1}}
|
|
|
- #showme A random number between 100 and 200: @rnd{100;200}
|
|
|
|
|
|
|
+ #show A random number between 100 and 200: @rnd{100;200}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #function gettime {#format result %t %H:%M}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #function gettime {#format result %t %H:%M}
|
|
|
- #showme The current time is @gettime{}
|
|
|
|
|
|
|
+ #show The current time is @gettime{}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove a function with the #unfunction command.
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove a function with the #unfunction command.
|
|
|
|
|
|
|
@@ -1059,7 +1066,7 @@ Related</span><span style='color:#AAA'>: <a href='#FOREACH'>foreach</a>
|
|
|
|
|
|
|
|
</span><span style='color:#0AA'> ####################################################################
|
|
</span><span style='color:#0AA'> ####################################################################
|
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
|
- #</span><span style='color:#AAA'> T I N T I N + + 2.02.02b </span><span style='color:#0AA'>#
|
|
|
|
|
|
|
+ #</span><span style='color:#AAA'> T I N T I N + + 2.02.03b </span><span style='color:#0AA'>#
|
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
|
#</span><span style='color:#AAA'> Code by Peter Unold, Bill Reis, and Igor van den Hoven </span><span style='color:#0AA'>#
|
|
#</span><span style='color:#AAA'> Code by Peter Unold, Bill Reis, and Igor van den Hoven </span><span style='color:#0AA'>#
|
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
#</span><span style='color:#AAA'> </span><span style='color:#0AA'>#
|
|
@@ -1216,7 +1223,7 @@ Related</span><span style='color:#AAA'>: <a href='#FOREACH'>foreach</a>
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: See '#help math', for more information.
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: See '#help math', for more information.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEX'>regex</a>.
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#SWITCH'>switch</a> and <a href='#REGEXP'>regexp</a>.
|
|
|
<a name='IGNORE'></a>
|
|
<a name='IGNORE'></a>
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> IGNORE
|
|
</span><span style='color:#5F5'> IGNORE
|
|
@@ -1520,7 +1527,7 @@ Command</span><span style='color:#AAA'>: #alias </span><span style='color:#FFF'>
|
|
|
</span><span style='color:#5F5'> KEYPAD
|
|
</span><span style='color:#5F5'> KEYPAD
|
|
|
|
|
|
|
|
</span><span style='color:#AAA'>When TinTin++ starts up it sends \e= to the terminal to enable the terminal's
|
|
</span><span style='color:#AAA'>When TinTin++ starts up it sends \e= to the terminal to enable the terminal's
|
|
|
-application keypad mode, which can be disabled using #showme {\e>}
|
|
|
|
|
|
|
+application keypad mode, which can be disabled using #show {\e>}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'> Configuration A Configuration B Configuration C</span><span style='color:#0AA'>
|
|
</span><span style='color:#FFF'> Configuration A Configuration B Configuration C</span><span style='color:#0AA'>
|
|
|
╭─────┬─────┬─────┬─────╮ ╭─────┬─────┬─────┬─────╮ ╭─────┬─────┬─────┬─────╮
|
|
╭─────┬─────┬─────┬─────╮ ╭─────┬─────┬─────┬─────╮ ╭─────┬─────┬─────┬─────╮
|
|
@@ -1598,6 +1605,10 @@ Terminal -> Window Settings -> Emulation.
|
|
|
</span><span style='color:#FFF'>#line ignore {argument}
|
|
</span><span style='color:#FFF'>#line ignore {argument}
|
|
|
</span><span style='color:#AAA'> Argument is executed without any triggers being checked.
|
|
</span><span style='color:#AAA'> Argument is executed without any triggers being checked.
|
|
|
|
|
|
|
|
|
|
+ </span><span style='color:#FFF'>#line local {argument}
|
|
|
|
|
+ </span><span style='color:#AAA'> Argument is executed with all newly and indirectly
|
|
|
|
|
+ created variables being local.
|
|
|
|
|
+
|
|
|
</span><span style='color:#FFF'>#line log <filename> [text]
|
|
</span><span style='color:#FFF'>#line log <filename> [text]
|
|
|
</span><span style='color:#AAA'> Log the next line to file unless the [text] argument is
|
|
</span><span style='color:#AAA'> Log the next line to file unless the [text] argument is
|
|
|
provided.
|
|
provided.
|
|
@@ -1606,6 +1617,10 @@ Terminal -> Window Settings -> Emulation.
|
|
|
</span><span style='color:#AAA'> Argument is executed using the provided logmode, available
|
|
</span><span style='color:#AAA'> Argument is executed using the provided logmode, available
|
|
|
modes are: html, plain, and raw.
|
|
modes are: html, plain, and raw.
|
|
|
|
|
|
|
|
|
|
+ </span><span style='color:#FFF'>#line multishot <number> <argument>
|
|
|
|
|
+ </span><span style='color:#AAA'> Argument is executed in multishot mode, all triggers created
|
|
|
|
|
+ will only fire the given number of times.
|
|
|
|
|
+
|
|
|
</span><span style='color:#FFF'>#line oneshot <argument>
|
|
</span><span style='color:#FFF'>#line oneshot <argument>
|
|
|
</span><span style='color:#AAA'> Argument is executed in oneshot mode, all triggers created will
|
|
</span><span style='color:#AAA'> Argument is executed in oneshot mode, all triggers created will
|
|
|
only fire once.
|
|
only fire once.
|
|
@@ -1701,7 +1716,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
</span><span style='color:#AAA'>
|
|
</span><span style='color:#AAA'>
|
|
|
</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'>
|
|
</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'>
|
|
|
#variable {simple} {Hello World!}
|
|
#variable {simple} {Hello World!}
|
|
|
- #showme $simple
|
|
|
|
|
|
|
+ #show $simple
|
|
|
|
|
|
|
|
To see if the 'simple' variable exists you can use &simple which will
|
|
To see if the 'simple' variable exists you can use &simple which will
|
|
|
display 0 if the variable does not exist, or the variable's index if
|
|
display 0 if the variable does not exist, or the variable's index if
|
|
@@ -1716,14 +1731,14 @@ Terminal -> Window Settings -> Emulation.
|
|
|
numbers, and underscores. If you need to use a non standard variable
|
|
numbers, and underscores. If you need to use a non standard variable
|
|
|
name this is possible using braces.
|
|
name this is possible using braces.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example: </span><span style='color:#AAA'>#variable {:)} {Happy Happy!};#showme ${:)}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example: </span><span style='color:#AAA'>#variable {:)} {Happy Happy!};#show ${:)}
|
|
|
|
|
|
|
|
Variables can be accessed using their index. While primarily useful
|
|
Variables can be accessed using their index. While primarily useful
|
|
|
for tables it is possible to do this for simple variables. Use +1 for
|
|
for tables it is possible to do this for simple variables. Use +1 for
|
|
|
the first variable, +2 for the second variable, etc. Use -1 for the
|
|
the first variable, +2 for the second variable, etc. Use -1 for the
|
|
|
last variable, -2 for the second last variable, etc.
|
|
last variable, -2 for the second last variable, etc.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'> #showme The first variable is: ${+1}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'> #show The first variable is: ${+1}
|
|
|
</span><span style='color:#5F5'>
|
|
</span><span style='color:#5F5'>
|
|
|
Removing Variables
|
|
Removing Variables
|
|
|
</span><span style='color:#AAA'>
|
|
</span><span style='color:#AAA'>
|
|
@@ -1742,7 +1757,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
</span><span style='color:#AAA'>
|
|
</span><span style='color:#AAA'>
|
|
|
A simple list is a string that contains semicolon delimited fields.
|
|
A simple list is a string that contains semicolon delimited fields.
|
|
|
Commands can be entered as simple lists, for example:
|
|
Commands can be entered as simple lists, for example:
|
|
|
- #showme {a};#showme {b} will execute a single line as two commands.
|
|
|
|
|
|
|
+ #show {a};#show {b} will execute a single line as two commands.
|
|
|
|
|
|
|
|
Several commands take a simple list as their input, these are:
|
|
Several commands take a simple list as their input, these are:
|
|
|
#foreach, #line substitute, #path load, #list create, and #highlight.
|
|
#foreach, #line substitute, #path load, #list create, and #highlight.
|
|
@@ -1784,7 +1799,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
|
|
|
|
|
This will create a friendlist with two entries, the key is the name of
|
|
This will create a friendlist with two entries, the key is the name of
|
|
|
the friend, the value is the email address of the friend. You can see
|
|
the friend, the value is the email address of the friend. You can see
|
|
|
- the email address of bob using: #showme {$friendlist[bob]}. You can
|
|
|
|
|
|
|
+ the email address of bob using: #show {$friendlist[bob]}. You can
|
|
|
also define this table as following:
|
|
also define this table as following:
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'>
|
|
</span><span style='color:#FFF'>Example:</span><span style='color:#AAA'>
|
|
@@ -1816,7 +1831,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
|
|
|
|
|
There is no limit to the number of nests, simply add more braces. To
|
|
There is no limit to the number of nests, simply add more braces. To
|
|
|
see Bob's email in this example you would use:
|
|
see Bob's email in this example you would use:
|
|
|
- #showme {$friendlist[bob][email]}.
|
|
|
|
|
|
|
+ #show {$friendlist[bob][email]}.
|
|
|
|
|
|
|
|
Lists
|
|
Lists
|
|
|
|
|
|
|
@@ -1858,7 +1873,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
control flow command. It takes special care to avoid infinite loops.
|
|
control flow command. It takes special care to avoid infinite loops.
|
|
|
|
|
|
|
|
#<number> will execute the provided argument 'number' times. For
|
|
#<number> will execute the provided argument 'number' times. For
|
|
|
- example: #4 {#showme beep! \a}
|
|
|
|
|
|
|
+ example: #4 {#show beep! \a}
|
|
|
|
|
|
|
|
Here are some examples.
|
|
Here are some examples.
|
|
|
|
|
|
|
@@ -1924,7 +1939,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
sethash bli hey;
|
|
sethash bli hey;
|
|
|
sethash bla hi;
|
|
sethash bla hi;
|
|
|
sethash blo hello;
|
|
sethash blo hello;
|
|
|
- #showme The value of bla is: @gethash{bla}
|
|
|
|
|
|
|
+ #show The value of bla is: @gethash{bla}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
The above script will rapidly store and retrieve over 1 million items.
|
|
The above script will rapidly store and retrieve over 1 million items.
|
|
@@ -1962,7 +1977,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
|
|
|
|
|
Avoid setting the result variable as local in a function.
|
|
Avoid setting the result variable as local in a function.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #alias {swap} {#local x %0;#replace x {e} {u};#showme $x}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #alias {swap} {#local x %0;#replace x {e} {u};#show $x}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#FORMAT'>format</a>, <a href='#FUNCTION'>function</a>, <a href='#MATH'>math</a>, <a href='#REPLACE'>replace</a>, <a href='#SCRIPT'>script</a> and <a href='#VARIABLE'>variable</a>.
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#FORMAT'>format</a>, <a href='#FUNCTION'>function</a>, <a href='#MATH'>math</a>, <a href='#REPLACE'>replace</a>, <a href='#SCRIPT'>script</a> and <a href='#VARIABLE'>variable</a>.
|
|
|
<a name='LOG'></a>
|
|
<a name='LOG'></a>
|
|
@@ -2012,7 +2027,7 @@ Terminal -> Window Settings -> Emulation.
|
|
|
If you only want a key sequence to trigger at the start of an input
|
|
If you only want a key sequence to trigger at the start of an input
|
|
|
line prefix the key sequence with ^.
|
|
line prefix the key sequence with ^.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #macro {(press ctrl-v)(press F1)} {#showme \e[2J;#buffer lock}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #macro {(press ctrl-v)(press F1)} {#show \e[2J;#buffer lock}
|
|
|
Clear the screen and lock the window when you press F1, useful when the
|
|
Clear the screen and lock the window when you press F1, useful when the
|
|
|
boss is near.
|
|
boss is near.
|
|
|
|
|
|
|
@@ -2313,8 +2328,9 @@ Terminal -> Window Settings -> Emulation.
|
|
|
</span><span style='color:#FFF'>#map unterrain <name>
|
|
</span><span style='color:#FFF'>#map unterrain <name>
|
|
|
</span><span style='color:#AAA'> Removes a terrain.
|
|
</span><span style='color:#AAA'> Removes a terrain.
|
|
|
|
|
|
|
|
- </span><span style='color:#FFF'>#map update
|
|
|
|
|
- </span><span style='color:#AAA'> Sets the vtmap to update within the next 0.1 seconds.
|
|
|
|
|
|
|
+ </span><span style='color:#FFF'>#map update [now]
|
|
|
|
|
+ </span><span style='color:#AAA'> Sets the vtmap to update within the next 0.1 seconds, or
|
|
|
|
|
+ instantly with the now argument.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>#map vnum <low> [high]
|
|
</span><span style='color:#FFF'>#map vnum <low> [high]
|
|
|
</span><span style='color:#AAA'> Change the room vnum to the given number, if a range is
|
|
</span><span style='color:#AAA'> Change the room vnum to the given number, if a range is
|
|
@@ -2640,7 +2656,7 @@ Related</span><span style='color:#AAA'>: <a href='#EVENT'>event</a> and <a href=
|
|
|
the given string. The value of the current character is stored in the
|
|
the given string. The value of the current character is stored in the
|
|
|
provided variable.
|
|
provided variable.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #parse {hello world} {char} {#showme $char}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #parse {hello world} {char} {#show $char}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#BREAK'>break</a>, <a href='#CONTINUE'>continue</a>, <a href='#FOREACH'>foreach</a>, <a href='#LIST'>list</a>, <a href='#LOOP'>loop</a>, <a href='#REPEAT'>repeat</a>, <a href='#RETURN'>return</a> and <a href='#WHILE'>while</a>.
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#BREAK'>break</a>, <a href='#CONTINUE'>continue</a>, <a href='#FOREACH'>foreach</a>, <a href='#LIST'>list</a>, <a href='#LOOP'>loop</a>, <a href='#REPEAT'>repeat</a>, <a href='#RETURN'>return</a> and <a href='#WHILE'>while</a>.
|
|
|
<a name='PATH'></a>
|
|
<a name='PATH'></a>
|
|
@@ -2653,6 +2669,7 @@ Related</span><span style='color:#AAA'>: <a href='#EVENT'>event</a> and <a href=
|
|
|
delete Will delete the last move of the path.
|
|
delete Will delete the last move of the path.
|
|
|
describe Describe the path and current position.
|
|
describe Describe the path and current position.
|
|
|
destroy Will clear the path and stop path mapping.
|
|
destroy Will clear the path and stop path mapping.
|
|
|
|
|
+ get Will get either the length or position.
|
|
|
goto Go the the start, end, or given position index.
|
|
goto Go the the start, end, or given position index.
|
|
|
insert Add the given argument to the path.
|
|
insert Add the given argument to the path.
|
|
|
load Load the given variable as the new path.
|
|
load Load the given variable as the new path.
|
|
@@ -2662,9 +2679,7 @@ Related</span><span style='color:#AAA'>: <a href='#EVENT'>event</a> and <a href=
|
|
|
run Execute the current path, with an optional floating point
|
|
run Execute the current path, with an optional floating point
|
|
|
delay in seconds as the second argument.
|
|
delay in seconds as the second argument.
|
|
|
save Save the path to a variable. You must specify whether you
|
|
save Save the path to a variable. You must specify whether you
|
|
|
- want to save the path 'forward' or 'backward'. If you use
|
|
|
|
|
- the 'length' or 'position' keywords the current length or
|
|
|
|
|
- position is saved.
|
|
|
|
|
|
|
+ want to save the path 'forward' or 'backward'.
|
|
|
swap Switch the forward and backward path.
|
|
swap Switch the forward and backward path.
|
|
|
unzip Load the given speedwalk as the new path.
|
|
unzip Load the given speedwalk as the new path.
|
|
|
walk Take one step forward or backward.
|
|
walk Take one step forward or backward.
|
|
@@ -2841,14 +2856,14 @@ Example: #act {%* chats '{Mu(ha)+}'} {chat %2ha!}
|
|
|
By default regex matches are greedy, meaning {.*} will capture as much
|
|
By default regex matches are greedy, meaning {.*} will capture as much
|
|
|
text as possible.
|
|
text as possible.
|
|
|
|
|
|
|
|
-Example: #regex {bli bla blo} {^{.*} {.*}$} {#showme Arg1=(&1) Arg2=(&2)}
|
|
|
|
|
|
|
+Example: #regex {bli bla blo} {^{.*} {.*}$} {#show Arg1=(&1) Arg2=(&2)}
|
|
|
|
|
|
|
|
This will display: Arg1=(bli bla) Arg2=(blo)
|
|
This will display: Arg1=(bli bla) Arg2=(blo)
|
|
|
|
|
|
|
|
By appending a ? behind a regex it becomes lazy, meaning {.*?} will
|
|
By appending a ? behind a regex it becomes lazy, meaning {.*?} will
|
|
|
capture as little text as possible.
|
|
capture as little text as possible.
|
|
|
|
|
|
|
|
-Example: #regex {bli bla blo} {^{.*?} {.*?}$} {#showme Arg1=(&1) Arg2=(&2)}
|
|
|
|
|
|
|
+Example: #regex {bli bla blo} {^{.*?} {.*?}$} {#show Arg1=(&1) Arg2=(&2)}
|
|
|
|
|
|
|
|
This will display: Arg1=(bli) Arg2=(bla blo).
|
|
This will display: Arg1=(bli) Arg2=(bla blo).
|
|
|
|
|
|
|
@@ -2969,8 +2984,8 @@ Example: #action {~\e[1;37m%1} {#var roomname %1}
|
|
|
column argument empty tintin will clear the row before printing at
|
|
column argument empty tintin will clear the row before printing at
|
|
|
the start of the row.
|
|
the start of the row.
|
|
|
|
|
|
|
|
- The #showme command takes a row and col argument as well so it's also
|
|
|
|
|
- possible to place text on your split lines using #showme.
|
|
|
|
|
|
|
+ The #show command takes a row and col argument as well so it's also
|
|
|
|
|
+ possible to place text on your split lines using #show.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: See </span><span style='color:#FFF'>#help split</span><span style='color:#AAA'> for more information on split mode.
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: See </span><span style='color:#FFF'>#help split</span><span style='color:#AAA'> for more information on split mode.
|
|
|
|
|
|
|
@@ -3049,7 +3064,7 @@ Example: #action {~\e[1;37m%1} {#var roomname %1}
|
|
|
%15 as a regular expression, the next unnumbered regular expression
|
|
%15 as a regular expression, the next unnumbered regular expression
|
|
|
would be %16. To prevent a match from being stored use %!*, %!w, etc.
|
|
would be %16. To prevent a match from being stored use %!*, %!w, etc.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #regexp {bli bla blo} {bli {.*} blo} {#showme &1}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #regexp {bli bla blo} {bli {.*} blo} {#show &1}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a> and <a href='#SWITCH'>switch</a>.
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#CASE'>case</a>, <a href='#DEFAULT'>default</a>, <a href='#ELSE'>else</a>, <a href='#ELSEIF'>elseif</a>, <a href='#IF'>if</a> and <a href='#SWITCH'>switch</a>.
|
|
|
<a name='REPEAT'></a>
|
|
<a name='REPEAT'></a>
|
|
@@ -3257,10 +3272,10 @@ easiest way to accomplish that.
|
|
|
|
|
|
|
|
If you provide a variable the output of the script is stored as a list.
|
|
If you provide a variable the output of the script is stored as a list.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {ruby -e 'print "#showme hello world"'}
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {python -c 'print "#showme hello world"'}
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {php -r 'echo "#showme hello world"'}
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {path} {pwd};#showme The path is $path[1].
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {ruby -e 'print "#show hello world"'}
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {python -c 'print "#show hello world"'}
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {php -r 'echo "#show hello world"'}
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #script {path} {pwd};#show The path is $path[1].
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#FORMAT'>format</a>, <a href='#FUNCTION'>function</a>, <a href='#LOCAL'>local</a>, <a href='#MATH'>math</a>, <a href='#REPLACE'>replace</a> and <a href='#VARIABLE'>variable</a>.
|
|
</span><span style='color:#FFF'>Related</span><span style='color:#AAA'>: <a href='#FORMAT'>format</a>, <a href='#FUNCTION'>function</a>, <a href='#LOCAL'>local</a>, <a href='#MATH'>math</a>, <a href='#REPLACE'>replace</a> and <a href='#VARIABLE'>variable</a>.
|
|
|
<a name='SEND'></a>
|
|
<a name='SEND'></a>
|
|
@@ -3308,8 +3323,8 @@ easiest way to accomplish that.
|
|
|
variables and functions, and print the result in
|
|
variables and functions, and print the result in
|
|
|
the current active session.
|
|
the current active session.
|
|
|
|
|
|
|
|
- The startup session is named 'gts' and can be used for relog scripts. Do
|
|
|
|
|
- keep in mind that tickers do not work in the startup session.
|
|
|
|
|
|
|
+ The startup session is named 'gts' and can be used for relog scripts.
|
|
|
|
|
+ Do keep in mind that tickers do not work in the startup session.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #event {SESSION DISCONNECTED} {#gts #delay 10 #ses %0 tintin.net 4321}
|
|
</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #event {SESSION DISCONNECTED} {#gts #delay 10 #ses %0 tintin.net 4321}
|
|
|
|
|
|
|
@@ -3342,16 +3357,16 @@ session one will remain the active session.
|
|
|
|
|
|
|
|
</span><span style='color:#5F5'> SHOWME
|
|
</span><span style='color:#5F5'> SHOWME
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Command</span><span style='color:#AAA'>: #showme </span><span style='color:#FFF'>{</span><span style='color:#AAA'>string</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>row</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>col</span><span style='color:#FFF'>}</span><span style='color:#AAA'>
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Command</span><span style='color:#AAA'>: #show </span><span style='color:#FFF'>{</span><span style='color:#AAA'>string</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>row</span><span style='color:#FFF'>} {</span><span style='color:#AAA'>col</span><span style='color:#FFF'>}</span><span style='color:#AAA'>
|
|
|
|
|
|
|
|
Display the string to the terminal, do not send to the server. Useful
|
|
Display the string to the terminal, do not send to the server. Useful
|
|
|
for status, warnings, etc. The {row} and col number are optional and
|
|
for status, warnings, etc. The {row} and col number are optional and
|
|
|
work the same way as the row number of the #prompt trigger.
|
|
work the same way as the row number of the #prompt trigger.
|
|
|
|
|
|
|
|
- Actions can be triggered by the showme command. If you want to avoid
|
|
|
|
|
- this from happening use: #line ignore #showme {<string>}.
|
|
|
|
|
|
|
+ Actions can be triggered by the show command. If you want to avoid
|
|
|
|
|
+ this from happening use: #line ignore #show {<string>}.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #tick {TICK} {#delay 50 #showme 10 SECONDS TO TICK!!!} {60}
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #tick {TICK} {#delay 50 #show 10 SECONDS TO TICK!!!} {60}
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: The #prompt helpfile contains more information on using the
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: The #prompt helpfile contains more information on using the
|
|
|
option {row} and {col} arguments.
|
|
option {row} and {col} arguments.
|
|
@@ -3431,7 +3446,7 @@ Command</span><span style='color:#AAA'>: #split </span><span style='color:#FFF'>
|
|
|
input line. Great for the minimalist.
|
|
input line. Great for the minimalist.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can display text on the split line(s) with the #prompt and
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can display text on the split line(s) with the #prompt and
|
|
|
- #showme {line} {row} commands.
|
|
|
|
|
|
|
+ #show {line} {row} commands.
|
|
|
|
|
|
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove split mode with the #unsplit command.
|
|
</span><span style='color:#FFF'>Comment</span><span style='color:#AAA'>: You can remove split mode with the #unsplit command.
|
|
|
|
|
|
|
@@ -3662,13 +3677,13 @@ Related</span><span style='color:#AAA'>: <a href='#ALL'>all</a>, <a href='#PORT'
|
|
|
Nested variables are also known as tables, table generally being used
|
|
Nested variables are also known as tables, table generally being used
|
|
|
to refer to several variables nested within one specific variable.
|
|
to refer to several variables nested within one specific variable.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #showme {Targets starting with the letter A: $targets[A%*]
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #show {Targets starting with the letter A: $targets[A%*]
|
|
|
|
|
|
|
|
To see the internal index of a variable use &<variable name>. To see
|
|
To see the internal index of a variable use &<variable name>. To see
|
|
|
the size of a table you would use: &targets[] or &targets[%*]. A non
|
|
the size of a table you would use: &targets[] or &targets[%*]. A non
|
|
|
existent nested variable will report itself as 0.
|
|
existent nested variable will report itself as 0.
|
|
|
|
|
|
|
|
-</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #showme {Number of targets starting with A: &targets[A%*]
|
|
|
|
|
|
|
+</span><span style='color:#FFF'>Example</span><span style='color:#AAA'>: #show {Number of targets starting with A: &targets[A%*]
|
|
|
|
|
|
|
|
In some scripts you need to know the name of a nested variable. This
|
|
In some scripts you need to know the name of a nested variable. This
|
|
|
is also known as the key, and you can get it using *variable. For
|
|
is also known as the key, and you can get it using *variable. For
|