Author |
Message |
Topic: Function Keys F1 Through F4 Fail to Macro |
F-3000
Replies: 4
Views: 1292
|
Forum: Bug Reports Posted: Wed Apr 06, 2016 2:29 pm Subject: Function Keys F1 Through F4 Fail to Macro |
Mac OS X has bindings for F1-F4 naturally, so if you're using Mac, that could be the reason. |
Topic: can we kill the whole .tin file |
F-3000
Replies: 3
Views: 1521
|
Forum: General Discussion Posted: Fri Feb 26, 2016 10:19 am Subject: can we kill the whole .tin file |
My every .tin-file are like this:
#class default_aliases kill
#class default_aliases open
[ lots of code... ]
#class default_aliases close
This way, all I need to do is #read the file ... |
Topic: Regex Questions |
F-3000
Replies: 4
Views: 2027
|
Forum: General Discussion Posted: Fri Feb 26, 2016 9:47 am Subject: Re: Regex Questions |
^.+?(say|ask|boom|bubble|chatter|chime|exclaim|growl|hiss|purr|rasp|ribbit|rustle|think|whisper)((e)?s)? (to )?[A-z]+( in .+?)?\: .+$
Here's the ... |
Topic: #IF fails when variable contains quote-marks |
F-3000
Replies: 3
Views: 2763
|
Forum: Bug Reports Posted: Sat Oct 27, 2012 8:26 am Subject: #IF fails when variable contains quote-marks |
How you would write the #regex test? |
Topic: #IF fails when variable contains quote-marks |
F-3000
Replies: 3
Views: 2763
|
Forum: Bug Reports Posted: Sat Oct 27, 2012 6:15 am Subject: #IF fails when variable contains quote-marks |
When a variable contains a string with quotes (" or '), the string-match does not work when used quote matches with quotes used in code. This goes as far as into nested variables.
#var test {t ... |
Topic: #unvar, nested variable and variable as key |
F-3000
Replies: 4
Views: 1431
|
Forum: Bug Reports Posted: Fri Jul 20, 2012 1:05 pm Subject: #unvar, nested variable and variable as key |
I ran this kind of nasty piece, that I cannot do #unvar for nested variable, if I use another variable as the key.
Example code:
#alias {test}{
#var {test} {{1 ... |
Topic: #foreach, #regex and #break |
F-3000
Replies: 1
Views: 924
|
Forum: Bug Reports Posted: Fri Jul 20, 2012 10:09 am Subject: #foreach, #regex and #break |
I found out, that #break doesn't work in combination of #foreach and #regex. Break gets executed, but foreach continues regardless.
As an example:
#alias {test}
{
#var tmp { ... |
Topic: Can't use functions inside of #sub? |
F-3000
Replies: 5
Views: 1168
|
Forum: Script Help Posted: Fri Sep 16, 2011 3:51 am Subject: Can't use functions inside of #sub? |
It's a bug.
For some odd reason, the #function replaces the #sub's %1 with #function's %1.
When line is...
Spell: berserk : modifies hp by 50 for 1 hours
Output should be:
& ... |
Topic: About unalias/unaction %%* |
F-3000
Replies: 4
Views: 1447
|
Forum: Feature Requests Posted: Fri Aug 05, 2011 4:19 am Subject: About unalias/unaction %%* |
Oh, you've changed that in 2.0.7? Either it's not in the change-list, or I've missed it totally. I gotta update then.
[Edit] I updated to 2.0.7, #unalias {%%*} now says that it cannot find #alia ... |
Topic: About unalias/unaction %%* |
F-3000
Replies: 4
Views: 1447
|
Forum: Feature Requests Posted: Thu Aug 04, 2011 3:30 am Subject: About unalias/unaction %%* |
For me, calling #unalias {%%*} while there is no #alias {%*} kills all aliases. Same goes for #actions. |
Topic: About unalias/unaction %%* |
F-3000
Replies: 4
Views: 1447
|
Forum: Feature Requests Posted: Sun Jul 24, 2011 5:33 pm Subject: About unalias/unaction %%* |
Why not limit #unalias {%%*} to kill only alias with %* as name, instead of wiping out all of the aliases if %* doesn't exist? |
Topic: more functions for the #class |
F-3000
Replies: 5
Views: 1576
|
Forum: Feature Requests Posted: Sun Jul 24, 2011 5:00 pm Subject: more functions for the #class |
While waiting for a possible change, one option is to use variable check.
#action {%*} {#if {"$trigger" > 0} {stuff;stuff;stuff}}
And maybe t ... |
Topic: A replacement for #unalias {%%*} |
F-3000
Replies: 0
Views: 1101
|
Forum: General Discussion Posted: Sun Jul 24, 2011 4:23 pm Subject: A replacement for #unalias {%%*} |
NOTE: This very same works with #unaction {%%*}.
Ever run into situation where you wipe out all of your #aliases due to #unalias {%%*}, when you actually haven't (yet) created #alias {%*} in the fi ... |
Topic: Alias created within alias, but variables go wrong |
F-3000
Replies: 1
Views: 946
|
Forum: Script Help Posted: Sun Jul 24, 2011 2:52 pm Subject: Alias created within alias, but variables go wrong |
I had this first done with PHP, but I tried to convert it to tintin syntax. Tricky is, that variables are set as pointers to variables in the resulting #alias action instead of their values.
#alias & ... |
Topic: Alias created within alias, but variables go wrong |
F-3000
Replies: 1
Views: 946
|
Forum: Script Help Posted: Sun Jul 24, 2011 1:15 pm Subject: Alias created within alias, but variables go wrong |
I found several syntax errors and mixed two data. I will reform the post and reply it. |
Topic: Parsing #sub |
F-3000
Replies: 3
Views: 982
|
Forum: Script Help Posted: Sun Jul 24, 2011 12:57 pm Subject: Parsing #sub |
Indeed, it works without the ~ in match, at least for character A, but for character B, it doesn't work. |
Topic: About logging (related to crashing) |
F-3000
Replies: 7
Views: 1407
|
Forum: Script Help Posted: Wed Jul 20, 2011 8:16 am Subject: About logging (related to crashing) |
You see any holes in this?
#alias {_chatter_}
{
#if {$chatter = 0}
{
#delay {1} {#var chatter 0};
};
#if {$chatter < 10 ... |
Topic: About logging (related to crashing) |
F-3000
Replies: 7
Views: 1407
|
Forum: Script Help Posted: Wed Jul 20, 2011 7:47 am Subject: About logging (related to crashing) |
Originally that "nop action" was inside alias, thus sometimes it actually wasn't set. But I placed it into the initiating file, yet the loop happened regardless.
One thing I come along is that occa ... |
Topic: About logging (related to crashing) |
F-3000
Replies: 7
Views: 1407
|
Forum: Script Help Posted: Tue Jul 19, 2011 9:31 am Subject: About logging (related to crashing) |
What can be a reason for an infinite loop with these #actions...
#action {%1 tells %2 '%3'$} {#chat message comms {%0}}
#action {%1 {clan|cabal}talks '%2 ... |
Topic: Recommend a MUD? |
F-3000
Replies: 5
Views: 2038
|
Forum: General Discussion Posted: Sat Jul 09, 2011 9:39 am Subject: Recommend a MUD? |
www.theforsakenlands.org
Only mud I've bothered playing. I've tried couple, but noone did catch me as strong as this did.
Amount of players is not the greatest (last down-peak was 3 people onlin ... |
Topic: About logging (related to crashing) |
F-3000
Replies: 7
Views: 1407
|
Forum: Script Help Posted: Sat Jul 09, 2011 8:28 am Subject: About logging (related to crashing) |
Thanks for the reply. I'll try your suggestion. |
Topic: About logging (related to crashing) |
F-3000
Replies: 7
Views: 1407
|
Forum: Script Help Posted: Thu Jul 07, 2011 6:54 am Subject: About logging (related to crashing) |
When tintin crashes, does it produce any log into /var/log/ (or similar)?
Is there a way to have two logging going on simultaneously, where one is "ordinary" log, and another contains debug info?
... |
Topic: #chat calls too soon? |
F-3000
Replies: 7
Views: 2187
|
Forum: Bug Reports Posted: Sun Jun 12, 2011 10:30 am Subject: #chat calls too soon? |
#alias {window1} {#window1 #line substitute colors #send {%0}}
If it is #send {%0} within alias, then content that window1 receives is wrapped with {}. With #send %0 this does not happen.
And with ... |
Topic: script help that checks list |
F-3000
Replies: 4
Views: 942
|
Forum: Script Help Posted: Tue May 31, 2011 3:35 pm Subject: script help that checks list |
I'm really loving TinTin++
You're not the only one.  |
Topic: PHP causes numpad-keys (and much more) to misbehave |
F-3000
Replies: 11
Views: 3496
|
Forum: Bug Reports Posted: Tue May 31, 2011 3:27 pm Subject: PHP causes numpad-keys (and much more) to misbehave |
For a record: When Ubuntu distro is upgraded, Tintin++ is downgraded to match the version offered thru repository.
My problems were due to that. |
Topic: #chat calls too soon? |
F-3000
Replies: 7
Views: 2187
|
Forum: Bug Reports Posted: Tue May 31, 2011 3:24 pm Subject: #chat calls too soon? |
you'd probably want to go ahead and change...
I changed all #script and #system commands then. Thanks for the notify.
You might also want to consider using netcat instead of #chat for your 2nd ... |
Topic: PHP causes numpad-keys (and much more) to misbehave |
F-3000
Replies: 11
Views: 3496
|
Forum: Bug Reports Posted: Tue May 31, 2011 2:24 pm Subject: PHP causes numpad-keys (and much more) to misbehave |
#system causes same.
I was wrong. #system doesn't cause any misbehavior, only #script. I made a double-check, and for a good reason it seems. |
Topic: PHP causes numpad-keys (and much more) to misbehave |
F-3000
Replies: 11
Views: 3496
|
Forum: Bug Reports Posted: Mon May 30, 2011 2:31 am Subject: PHP causes numpad-keys (and much more) to misbehave |
Yeps, it was #script. I'll test if #system produces same problem.
[Edit] #system causes same. |
Topic: cursor keys |
F-3000
Replies: 2
Views: 1039
|
Forum: Bug Reports Posted: Mon May 30, 2011 2:14 am Subject: Re: cursor keys |
Up is now last command rather than North.
I would suggest using numpad for navigating, if that's possible for you.
I have this setup:
8 - north
4 - east
6 - west
2 - south
7 - up
1 - down ... |
Topic: PHP causes numpad-keys (and much more) to misbehave |
F-3000
Replies: 11
Views: 3496
|
Forum: Bug Reports Posted: Mon May 30, 2011 2:06 am Subject: PHP causes numpad-keys (and much more) to misbehave |
Is this caused by #script, or by #run / #system ?
The terminal restore is still in place for #script.
I believe it's #script, but I'll check that out. |
|