Difference between revisions of "Category:TinTin++ Scripting"

From AvatarWiki
Jump to navigation Jump to search
m (Added a little more information on basic tintin usage)
Line 18: Line 18:
  
 
Then when I open JoeBlow.char with tt++, it'll automatically log JoeBlow in, and load up all of the scripts that I mentioned. It has a lot of really cool potential when you get used to it.
 
Then when I open JoeBlow.char with tt++, it'll automatically log JoeBlow in, and load up all of the scripts that I mentioned. It has a lot of really cool potential when you get used to it.
 +
 +
There is a lot of great information on the tintin++ website tintin.sourceforge.net/starting.php
 +
 +
* as a second opinion: i love tintin++ (as an OS X user) and have really come to appreciate it's flexibility and performance even though i've just been using it a short while. once you make a few character files you'll have your basics set to copy for the next. for example i have my full-sized keyboard use its keypad for directions and other functions. many characters might share certain things, like a trig to pick up a disarmed weapon or a piece of eq that zaps from alignment change. you can copy these into just the character files that need them, in the format as shown above. i'll put a longer one below:
 +
<pre>
 +
#var player joebob
 +
#read AutoRescue.tin
 +
#action {You feel a slight headache} {c 'shocking grasp'=c 'magic missile'}
 +
#action {You feel less fatigued} {snk=snk}
 +
#action {disarms you and sends your weapon flying} {get antenna=wield antenna}
 +
#action {You failed your %w} {c %1}
 +
#action {You failed your %w%s} {c %1}
 +
#action {The safety of shade disappears} {t joebob |R|Your |C|Dark Embrace|R| has fallen!|N|}
 +
#action {Your mystical barrier shimmers and is gone} {t joebob |R|Your |P|Mystical Barrier|R| has fallen!|N|}
 +
#macro {\eOw} {#send aff}
 +
#macro {\eOx} {#send north}
 +
#macro {\eOy} {#send aff}
 +
#macro {\eOt} {#send west}
 +
#macro {\eOu} {#send look}
 +
#macro {\eOv} {#send east}
 +
#macro {\eOq} {#send mae}
 +
#macro {\eOr} {#send south}
 +
#macro {\eOs} {#send mtr}
 +
#macro {\eOm} {#send down}
 +
#macro {\eOl} {#send up}
 +
#macro {\e[15~} {#send config +savespell}
 +
#macro {\e[17~} {#send config -savespell}
 +
#split
 +
#ses joebob avatar.outland.org 3000;joebob;myPassWord
 +
</pre>
  
 
==Scripts==
 
==Scripts==

Revision as of 02:27, 20 October 2011

The scripts listed in this category are written to work in the TinTin++ client.

If you would like to request a script, please do so on the Requests page.

If you would like to report a bug or request a feature for a specific script, please do so on that script's talk page.

Basic Info

TinTin++ is a bit different than you may be used to in a mud client. It doesn't have a character selection screen and it doesn't persistently remember your scripts and variables. Instead, you keep your scripts saved as plain-text files and load them up using the #read command. Personally, I keep each script as a separate file, and each of my characters as a separate file. The character file then is full of a bunch of #reads which load all the scripts that I want for that character like so:

  • JoeBlow.char
#var player JoeBlow
#read RunCount.tin
#read WikiSearch.tin
#read JoeBlow.gear
#read PsiTriggers.tin
#session JoeBlow avatar.outland.org 3000
$player
<password>

Then when I open JoeBlow.char with tt++, it'll automatically log JoeBlow in, and load up all of the scripts that I mentioned. It has a lot of really cool potential when you get used to it.

There is a lot of great information on the tintin++ website tintin.sourceforge.net/starting.php

  • as a second opinion: i love tintin++ (as an OS X user) and have really come to appreciate it's flexibility and performance even though i've just been using it a short while. once you make a few character files you'll have your basics set to copy for the next. for example i have my full-sized keyboard use its keypad for directions and other functions. many characters might share certain things, like a trig to pick up a disarmed weapon or a piece of eq that zaps from alignment change. you can copy these into just the character files that need them, in the format as shown above. i'll put a longer one below:
#var player joebob
#read AutoRescue.tin
#action {You feel a slight headache} {c 'shocking grasp'=c 'magic missile'}
#action {You feel less fatigued} {snk=snk}
#action {disarms you and sends your weapon flying} {get antenna=wield antenna}
#action {You failed your %w} {c %1}
#action {You failed your %w%s} {c %1}
#action {The safety of shade disappears} {t joebob |R|Your |C|Dark Embrace|R| has fallen!|N|}
#action {Your mystical barrier shimmers and is gone} {t joebob |R|Your |P|Mystical Barrier|R| has fallen!|N|}
#macro {\eOw} {#send aff}
#macro {\eOx} {#send north}
#macro {\eOy} {#send aff}
#macro {\eOt} {#send west}
#macro {\eOu} {#send look}
#macro {\eOv} {#send east}
#macro {\eOq} {#send mae}
#macro {\eOr} {#send south}
#macro {\eOs} {#send mtr}
#macro {\eOm} {#send down}
#macro {\eOl} {#send up}
#macro {\e[15~} {#send config +savespell}
#macro {\e[17~} {#send config -savespell}
#split
#ses joebob avatar.outland.org 3000;joebob;myPassWord

Scripts

Run Stats Counter: Counts numerous things during your runs. Mostly xp gained and lost, and certain actions performed during runs (bash, trip, rescue, flee, death, etc) and shows them only when appropriate.
WikiSearch: Searches AvatarWiki for whatever you'd like.

Before using actions, make sure you are familiar with Avatar's Trigger Policy.