Difference between revisions of "TinTin++"
(→Examples) |
m (Protected "TinTin++" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
Website: http://tintin.sourceforge.net/ | Website: http://tintin.sourceforge.net/ | ||
− | === | + | === Why TinTin++? === |
− | + | Cross platform, runs on Windows, Mac OSX, Gnu/Linux, BSD, Soloris. | |
− | === | + | === History === |
− | + | Started as 700 lines of c code, posted on Usenet by Peter Unold on April 1, 1992. | |
== Installing == | == Installing == | ||
=== Windows === | === Windows === | ||
− | It's suggested on | + | It's suggested on windows 7 and above that you install and use it under cygwin. Get cygwin from [https://cygwin.com/index.html here]. For those on Vista and lower download the WinTin++ installer from [http://tintin.sourceforge.net/download.php here]. |
=== Mac OSX === | === Mac OSX === | ||
Line 42: | Line 42: | ||
=== Post Install === | === Post Install === | ||
+ | |||
+ | You'll want to make your tt config file. If you're using WinTin++ it uses main.tin by default. You should make this file in the root directory of the WinTin++ install (where you installed it). | ||
+ | |||
+ | On windows DO NOT edit the config with notepad or wordpad, use notepad++. There's been issues with these editors causing format issues, making the config file not read properly. You can get notepad++ [https://notepad-plus-plus.org/ here]. | ||
+ | |||
+ | If you are using tt in cygwin or Linux etc. You can make the config file anywhere, just make sure the alias for tt points to it. For bash users (default for cygwin and most linux distros) you would add this alias to the .bashrc file for example. | ||
+ | |||
+ | <nowiki> | ||
+ | alias tt="tintin ~/.tintin/run.tin" | ||
+ | </nowiki> | ||
+ | |||
+ | "tt" is what you would type to run tt. The "~/.tintin/run.tin" is the location and name of the config file. So you are running tintin pointed at that config file. | ||
== TinTin++ and 4D == | == TinTin++ and 4D == | ||
− | == | + | == Example Scripts == |
Example TinTin++ file: http://4dimensions.org/wiki/index.php/User:Isidora | Example TinTin++ file: http://4dimensions.org/wiki/index.php/User:Isidora | ||
Line 57: | Line 69: | ||
} | } | ||
− | #var {nemotes} {1d5} #variable for the number of emotes you have, easier to edit 1d5 in one place than a bunch. So if you have 6 emotes you change it | + | #var {nemotes} {1d5} #variable for the number of emotes you have, easier to edit 1d5 in one place than a bunch. So if you have 6 emotes you change it to 1d6. |
#list {emotes} {create} {emote ex1} {emote ex2} {emote ex3} {emote ex4} {emote ex5} #nop pool of emotes to draw from. | #list {emotes} {create} {emote ex1} {emote ex2} {emote ex3} {emote ex4} {emote ex5} #nop pool of emotes to draw from. | ||
Line 65: | Line 77: | ||
} | } | ||
</nowiki> | </nowiki> | ||
− | |||
− |
Latest revision as of 09:17, 13 November 2015
This is all very wip.
Contents
What is Tintin++?
TinTin++ (from now on called tt) is a mud client, dating back over 20 years, making it one of the oldest mud clients around.
Website: http://tintin.sourceforge.net/
Why TinTin++?
Cross platform, runs on Windows, Mac OSX, Gnu/Linux, BSD, Soloris.
History
Started as 700 lines of c code, posted on Usenet by Peter Unold on April 1, 1992.
Installing
Windows
It's suggested on windows 7 and above that you install and use it under cygwin. Get cygwin from here. For those on Vista and lower download the WinTin++ installer from here.
Mac OSX
Gnu/Linux(s)
Arch Linux
tt can be found in the aur.
Download the snapshot, extract it, run makepkg where you extracted it.
curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/tintin.tar.gz tar xzf tintin.tar.gz cd tintin makepkg -sri
makepkg -sri should grab any dependencies, compile and install tt.
BSD(s)
Both freebsd and openbsd have it in ports.
Solaris
Post Install
You'll want to make your tt config file. If you're using WinTin++ it uses main.tin by default. You should make this file in the root directory of the WinTin++ install (where you installed it).
On windows DO NOT edit the config with notepad or wordpad, use notepad++. There's been issues with these editors causing format issues, making the config file not read properly. You can get notepad++ here.
If you are using tt in cygwin or Linux etc. You can make the config file anywhere, just make sure the alias for tt points to it. For bash users (default for cygwin and most linux distros) you would add this alias to the .bashrc file for example.
alias tt="tintin ~/.tintin/run.tin"
"tt" is what you would type to run tt. The "~/.tintin/run.tin" is the location and name of the config file. So you are running tintin pointed at that config file.
TinTin++ and 4D
Example Scripts
Example TinTin++ file: http://4dimensions.org/wiki/index.php/User:Isidora
"Simple" emote on move script.
#alias {up} { #if {@rand{1d00} < 21} {u;$emotes[@rand{$nemotes}]} {u} #nop if the random number is less than 21, move up then get a random emote from the list $emotes. Otherwise if the number was greater than 21, just move up. } #var {nemotes} {1d5} #variable for the number of emotes you have, easier to edit 1d5 in one place than a bunch. So if you have 6 emotes you change it to 1d6. #list {emotes} {create} {emote ex1} {emote ex2} {emote ex3} {emote ex4} {emote ex5} #nop pool of emotes to draw from. #function {rand} #nop simple random number function. you put for example 1d100 in the {} and in generates a random number between 1 and 100. { #math result {%0} }