TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Search found 339 matches
The TinTin++ message board Forum Index
Author Message
  Topic: Function arguments
PowerGod

Replies: 4
Views: 167

PostForum: Bug Reports   Posted: Thu Nov 16, 2017 7:24 am   Subject: Function arguments
Thumbs Up
  Topic: Sorting a multicolumn list....
PowerGod

Replies: 2
Views: 46

PostForum: Script Help   Posted: Tue Nov 14, 2017 8:28 am   Subject: Sorting a multicolumn list....
I suppose you'll need an index list for this


#var item_sorted {};
#foreach $item_list[] cnt {#var item_sorted[$item_list[$cnt][expire]] {$cnt& ...
  Topic: Does there exist a tintin object notation to JSON
PowerGod

Replies: 2
Views: 58

PostForum: Script Help   Posted: Tue Nov 07, 2017 7:20 pm   Subject: Does there exist a tintin object notation to JSON
There is something in the finished scripts, but seems to do the opposite.

Anyway, I did something just for fun to try this out...

It's not totally working anyway, there are issues with commas a ...
  Topic: TinTin++ 2.01.3
PowerGod

Replies: 4
Views: 306

PostForum: Announcements   Posted: Tue Oct 24, 2017 6:13 am   Subject: TinTin++ 2.01.3
I'm starting to hate that custom font thing... at the beginning I had to reinstall it different times at every reboot to make it work, else I was only seeing square characters...

Now it just don't ...
  Topic: Math: number variable not being treated as a number
PowerGod

Replies: 5
Views: 152

PostForum: Bug Reports   Posted: Tue Oct 03, 2017 7:19 am   Subject: Math: number variable not being treated as a number
This thread could be related to your issue:
http://tintin.sourceforge.net/board/viewtopic.php?t=2431

It could be linked to the use of "#config color patch"
  Topic: Math: number variable not being treated as a number
PowerGod

Replies: 5
Views: 152

PostForum: Bug Reports   Posted: Fri Sep 29, 2017 12:34 pm   Subject: Math: number variable not being treated as a number
How do you get the content of that variable ?

Maybe you can try cleaning it with "#line strip"
  Topic: TinTin++ 2.01.3
PowerGod

Replies: 4
Views: 306

PostForum: Announcements   Posted: Mon Sep 04, 2017 4:37 pm   Subject: TinTin++ 2.01.3
Windows 8.1 tells me that "EUDC.EUF" is not a valid font.

I forced it there anyway using mc, but if I open the fonts folder it is signed as invalid and I can't even preview it. (But the Character E ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Mon Aug 28, 2017 11:33 am   Subject: Complex for me: Using #action to capture table to #list+more
Try with this (as you can see I used a LIST to have an array with numeric index):


#ACTION {^{\s*(?!\s*ID).*}| %2 | %3 | %4 | %5 | %6} {#if {%6=="-" ...
  Topic: Automatic substitution of only certain variables.
PowerGod

Replies: 2
Views: 88

PostForum: Script Help   Posted: Fri Aug 25, 2017 3:41 pm   Subject: Automatic substitution of only certain variables.
A way is to add another "$" to all the vars you don't want to be substituted:


#foreach $objectsDonate[] {shortName} {
#line substitute variables #action {You take ...
  Topic: last argument of last command
PowerGod

Replies: 1
Views: 138

PostForum: General Discussion   Posted: Tue Aug 15, 2017 3:57 pm   Subject: last argument of last command
If you type the beginning of a command you used before and then press arrow up, it will complete the phrase with the last arguments too.
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Tue Aug 08, 2017 9:59 am   Subject: Complex for me: Using #action to capture table to #list+more

Which then in that case makes my #showme SectorList looks like this:


#show $SectorList
{1}{@IndexName{Articles[Weapons];001}}{2}{@IndexName ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Mon Aug 07, 2017 4:18 pm   Subject: Complex for me: Using #action to capture table to #list+more
The first thing that scandum wrote was about the zerofill function that can can be changed like this:

#FUNCTION {zerofill} {#var {result} {%%0%2d};#format {r ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Fri Aug 04, 2017 11:19 am   Subject: Complex for me: Using #action to capture table to #list+more
I'm a bit confused with everything here.. having read through it a few times...

For now:
- you get the things to be purchased in $ToPurch
- with the content of that var you can call different ti ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Wed Aug 02, 2017 8:14 pm   Subject: Complex for me: Using #action to capture table to #list+more

I can't see a "zerofill" function in #FORMAT, but anyway it must be used in some way to obtain this...

#format %07d <value> should create a 7 digit zero filled number. You can check the lin ...
  Topic: Function arguments
PowerGod

Replies: 4
Views: 167

PostForum: Bug Reports   Posted: Wed Aug 02, 2017 5:36 pm   Subject: Function arguments
Hi, the functions seems to remember the arguments passed from a previous run, when you not provide them:


#function {rnd} {#math {result} {1 d (%2 - %1 + 1) + ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Wed Aug 02, 2017 3:46 pm   Subject: Complex for me: Using #action to capture table to #list+more
The sorting thing is something I've never done before with tt++... also I don't find threads that raises the argument either...

So, I'll just start to theorize while playing with the tools that thi ...
  Topic: Negative RegExp not working
PowerGod

Replies: 2
Views: 108

PostForum: Bug Reports   Posted: Tue Aug 01, 2017 3:16 pm   Subject: Negative RegExp not working
I had a deeper look at the PCRE implementation and found out that this different approach seems working:

#action {{^.*FOO.*(*SKIP)(*FAIL)|^.*}} {#echo CAPTU ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Tue Aug 01, 2017 6:01 am   Subject: Complex for me: Using #action to capture table to #list+more
in this case you must use double "%" for parameters in the #action...
(and if that #action creates another #action, this last one must use triple "%", etc...)

example:

#ALIAS {MyALias} ...
  Topic: Negative RegExp not working
PowerGod

Replies: 2
Views: 108

PostForum: Bug Reports   Posted: Mon Jul 31, 2017 2:58 pm   Subject: Negative RegExp not working
I actually don't know if the feature is only not working or just missing (in that case consider it as a feature request Smile), but I can't find info on it in the forum...

This is not working, it shou ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Mon Jul 31, 2017 2:42 pm   Subject: Complex for me: Using #action to capture table to #list+more
I just found out something... the negative regexp doesn't work on tt++ Sad

I'm not sure if it's a bug or a NOT implemented feature... Confused

So this part of the #action must be removed and it should ...
  Topic: Variables within Substitutes
PowerGod

Replies: 4
Views: 830

PostForum: Script Help   Posted: Mon Jul 31, 2017 12:52 pm   Subject: Variables within Substitutes

Output:

#OK. VARIABLE {counter} HAS BEEN SET TO {0}.
#OK, IN {1} SECONDS {#echo $name} IS EXECUTED.
#OK, IN {1} SECONDS {#e ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Mon Jul 31, 2017 7:16 am   Subject: Complex for me: Using #action to capture table to #list+more
Oh, right, that regexp was considering the single letters of "ITEM", so everything that was starting with one of them was excluded...

This should consider the entire word:

#ACTION {^{\ ...
  Topic: Issue with #if and \;
PowerGod

Replies: 3
Views: 159

PostForum: Bug Reports   Posted: Wed Jul 26, 2017 11:24 am   Subject: Issue with #if and \;
This function seems working well too (at least for this case):

#var test1 {The quick brown fox\; he jumped.};

#func {escape} {#var {result} {%0};#rep ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Tue Jul 25, 2017 5:36 pm   Subject: Complex for me: Using #action to capture table to #list+more
I'm sorry, but in the little time I find for this type of things I just post on the forum, also because I like the idea that others people could find the answers for similar issues they have...

Ret ...
  Topic: Complex for me: Using #action to capture table to #list+more
PowerGod

Replies: 29
Views: 694

PostForum: Script Help   Posted: Sun Jul 23, 2017 4:23 pm   Subject: Complex for me: Using #action to capture table to #list+more
I'm too sleepy now to start thinking about all of this... Confused

Anyway I can give you a clue about doing the first of the requested lists (except for the math that's too much right now)...

Let's ...
  Topic: Issue with #if and \;
PowerGod

Replies: 3
Views: 159

PostForum: Bug Reports   Posted: Fri Jul 21, 2017 5:20 pm   Subject: Issue with #if and \;
I confirm the above, but I also found out that if you use these for the first and last comparison, the FIRST MATCHES and the LAST NOT


#var test1 {The quick brown fox\; he jumped.};
#v ...
  Topic: TinTin++ 2.01.3 (Beta)
PowerGod

Replies: 5
Views: 261

PostForum: Announcements   Posted: Fri Jul 21, 2017 12:14 pm   Subject: TinTin++ 2.01.3 (Beta)
Hi, I know that this could be very unlikely to be used, but I found an issue while setting "pathdir" as numbers:

This is working as usual:

#unpathdir {%*};#pathdir {e} { ...
  Topic: TinTin++ 2.01.3 (Beta)
PowerGod

Replies: 5
Views: 261

PostForum: Announcements   Posted: Wed Jul 19, 2017 4:23 am   Subject: TinTin++ 2.01.3 (Beta)
It'll take pathdirs as well, #map exit e dir u

Wasn't already using them ? O_o
I thought the news was just the numbers, it's easier to do funny things with them Big Smile
  Topic: TinTin++ 2.01.3 (Beta)
PowerGod

Replies: 5
Views: 261

PostForum: Announcements   Posted: Tue Jul 18, 2017 6:52 pm   Subject: TinTin++ 2.01.3 (Beta)
Just tried the new #map option, this is funny Big Smile


#split 16 1;#map create;#map goto 1;#map flag vtmap on;w;#delay {1} {#loop {1} {32} thevar {#line substitu ...
  Topic: #action #sub and #math with 0,... help
PowerGod

Replies: 2
Views: 121

PostForum: Script Help   Posted: Tue Jul 18, 2017 5:40 pm   Subject: #action #sub and #math with 0,... help
You have to "force" MATH to use decimals, just add them (how many you need) to the values used in the operation.
I also had to add a "%s" to the ACTION of your example else it wasn't triggered, but m ...
 
Page 1 of 12 Goto page 1, 2, 3 ... 10, 11, 12  Next
All times are GMT - 5 Hours
Jump to:  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group