| View previous topic :: View next topic |
| Author |
Message |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3281
|
Posted: Fri Jul 02, 2010 11:43 pm Post subject: TinTin++ 2.00.2 |
|
|
| Code: |
line.c Added the #line substitute options which allows the
substitution of variables, functions, colors, and
escape codes in the given argument.
config.c Added a config option to enable BIG5 support.
mapper.c Added an optional vnum argument to #map get and #map set,
calling #map get on an invalid vnum results in the variable
being set to 0 while #map set calls on invalid vnums do
nothing.
terminal.c Added SCREEN RESIZE event.
session.c Added SESSION ACTIVATED and SESSION DEACTIVATED events.
nest.c Nested variable calls to non existing nests now return
"" rather than "0", this to allow $var[%*] calls to work
correctly with empty variables. I originally added the "0"
response for if checks, but this is obsolete with the
much more reliable &variable[] call.
buffer.c Added a check to avoid a potential crash on displaying the
scrollback buffer in show_buffer(), needs a better fix but I
don't have the time and patience.
tables.c Removed #suspend command, #cursor suspend is available instead.
tokenize.c Added BIG5 handling for #parse
tintin.h Fixed an error in the SCROLL macro that determines whether
something is printed inside or outside of the scrolling region.
tinexp.c Function arguments are no longer space but semicolon separated.
mapper.c Updated messages to be non triggerable and to only echo on manual
input.
|
|
|
| Back to top |
|
 |
F4RR4R
Joined: 02 Jul 2010 Posts: 80
|
Posted: Sat Jul 03, 2010 9:46 am Post subject: |
|
|
| Thank you! Compiled from source on Ubuntu 10.04 x64 easy as pie. |
|
| Back to top |
|
 |
tangobravo
Joined: 02 Jan 2010 Posts: 37 Location: TorilMUD
|
Posted: Wed Jul 07, 2010 10:40 am Post subject: |
|
|
| Woohoo! Xmas in July =) Thanks, Scandum... can't wait to play with some off these features.... |
|
| Back to top |
|
 |
ryan0_o
Joined: 01 Mar 2010 Posts: 167
|
Posted: Wed Jul 14, 2010 2:04 am Post subject: |
|
|
Regarding the nest.c:
Can you elaborate on this a bit more?
e.g. The connect script on website:
| Code: |
#alias {deleteworld}
{
#if {&worldlist[%1] != 0}
{
#unvar worldlist[%1];
#class worlddata write worlddata.tin;
#showme The world %1 has been deleted.
};
#else
{
#showme The world %1 couldn't be found.
}
}
|
The first #if {&worldlist[%1] != 0} would result as true if it were equal to ""? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3281
|
Posted: Wed Jul 14, 2010 8:53 am Post subject: |
|
|
When you use & in front of a variable tintin will return the index of the variable, which is 0 if the variable doesn't exist.
So that if check only checks if the variable exists or not, and not the content of the variable. |
|
| Back to top |
|
 |
|