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 61 matches
The TinTin++ message board Forum Index
Author Message
  Topic: TinTin++ 2.01.2 (Beta)
LokiChaos

Replies: 7
Views: 1997

PostForum: Announcements   Posted: Sat Oct 01, 2016 11:23 pm   Subject: TinTin++ 2.01.2 (Beta)
Local vars! …after I go a write a scope system in tintin-script Laughing

I'll give it an extensive test. Nod
  Topic: #break and #continue
LokiChaos

Replies: 3
Views: 543

PostForum: Bug Reports   Posted: Thu May 05, 2016 3:15 pm   Subject: #break and #continue
Fair enough, just another quirk to #forall then.
  Topic: #break and #continue
LokiChaos

Replies: 3
Views: 543

PostForum: Bug Reports   Posted: Wed May 04, 2016 1:13 am   Subject: #break and #continue
If you want to test:

#var t {{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}}

#alias {forall ...
  Topic: #break and #continue
LokiChaos

Replies: 3
Views: 543

PostForum: Bug Reports   Posted: Wed May 04, 2016 1:09 am   Subject: #break and #continue
I noticed some odd behaviour with #break and #continue with #forall loops… they do nothing.

#break and #continue do however work with #foreach, #while, #loop, and #parse


[02] forall &# ...
  Topic: Function execution and timing
LokiChaos

Replies: 1
Views: 584

PostForum: Script Help   Posted: Tue May 03, 2016 2:24 pm   Subject: Function execution and timing
While I need to test it, I decided perl probably did it best. I have now added a dynamic scope system as well as lexical scope.
Private/Lexically scoped vars cannot be passed by reference to subscop ...
  Topic: Function execution and timing
LokiChaos

Replies: 1
Views: 584

PostForum: Script Help   Posted: Mon May 02, 2016 8:24 pm   Subject: Function execution and timing
I have implemented a "private variable" system for tintin, which works well, and is recursion friendly! However, it does not handle passing by reference well (which is in part why this is a private a ...
  Topic: #split dissapears
LokiChaos

Replies: 14
Views: 2189

PostForum: Bug Reports   Posted: Wed Apr 20, 2016 12:14 pm   Subject: #split dissapears
As someone who does some RP on irc, the point isn't to send multiple lines, but rather see the entirety of a long command at once. I do echo the tmux system ssh/mosh + tmux is worth using.

I'm wor ...
  Topic: #split dissapears
LokiChaos

Replies: 14
Views: 2189

PostForum: Bug Reports   Posted: Tue Apr 19, 2016 10:23 pm   Subject: #split dissapears
Is this a more RP-centric MUD? I would say that maybe a system of an external editor combined with an alias/macro to read in a dummy file would be the way to go for elaborate input. A real editor is ...
  Topic: #split dissapears
LokiChaos

Replies: 14
Views: 2189

PostForum: Bug Reports   Posted: Tue Apr 19, 2016 3:44 pm   Subject: #split dissapears
I don't think tintin++ supports a multi-line input area.

What terminal emulator are you using? Issues with split get likely could be related to that.
I would also see if the game is sending odd c ...
  Topic: Variable Magic
LokiChaos

Replies: 0
Views: 600

PostForum: Finished Scripts   Posted: Tue Apr 19, 2016 12:12 am   Subject: Variable Magic
Because I have finally gotten tired of trying to manually parse large tables without any linebreaks or spacing...

I built this little tool:
printVar <var> https://i.imgur.com/iQhuiow.png

...
  Topic: Prefix/suffix echo.
LokiChaos

Replies: 3
Views: 2448

PostForum: Finished Scripts   Posted: Mon Apr 18, 2016 4:29 pm   Subject: Prefix/suffix echo.
I know this is old, but for prefixing, there is an easier way.

#echo {PREFIX\}

Example:

#act {FOOBAR} {#echo {WOMBATS\}}
em FOOBAR
WOMBATS[EM] FOOBAR
...
  Topic: Set up vim highlighting syntax for tt++
LokiChaos

Replies: 3
Views: 1006

PostForum: General Discussion   Posted: Mon Apr 18, 2016 3:54 pm   Subject: Set up vim highlighting syntax for tt++
https://github.com/LokiChaos/vim-tintin

It's not perfect, but it does a pretty good job.
  Topic: A better way for colour matching
LokiChaos

Replies: 0
Views: 545

PostForum: Finished Scripts   Posted: Sat Apr 16, 2016 10:23 pm   Subject: A better way for colour matching
Colour-aware triggers are very helpful, but also a pain to write. Regex combined with multiple escaped characters, muds will send stateful SGR codes (that 0\; or 1\; may or may not be there!) and the ...
  Topic: Changes to ^d ^z handling
LokiChaos

Replies: 7
Views: 1025

PostForum: Bug Reports   Posted: Fri Apr 15, 2016 5:03 pm   Subject: Changes to ^d ^z handling
This allows both ^z and ^d to work with #macro:
stty -isig

This does have some side effects, notably it prevents processing of the signal for aborting connections. I am looking into a patch that ...
  Topic: Changes to ^d ^z handling
LokiChaos

Replies: 7
Views: 1025

PostForum: Bug Reports   Posted: Wed Apr 13, 2016 8:59 am   Subject: Changes to ^d ^z handling
I have a partial solution, in my launcher script for tt++
stty susp '^-'
tt++

tt++ also needs macros set to catch ^z but macros will process now.

Ideally resetting them afterwards would be nic ...
  Topic: Changes to ^d ^z handling
LokiChaos

Replies: 7
Views: 1025

PostForum: Bug Reports   Posted: Tue Apr 12, 2016 11:05 am   Subject: Changes to ^d ^z handling
I'm running tt++ in tmux 1.9 on Debian, technically I am sshing in from a Gentoo system using rxvt-unicode w/ 256 colour patch.

I specifically had a #macro that blocked ^d and ^z in 2.00.9, as I la ...
  Topic: Changes to ^d ^z handling
LokiChaos

Replies: 7
Views: 1025

PostForum: Bug Reports   Posted: Tue Apr 12, 2016 9:50 am   Subject: Changes to ^d ^z handling
Something changed between 2.00.9 and 2.01.1 where I can no longer block Ctrl-d and Ctrl-z via a #macro

eg:
#macro {\cd} {#nop}

Used to prevent exiting via ^d, now it seems that ^d is handled be ...
  Topic: comments?
LokiChaos

Replies: 10
Views: 2206

PostForum: Feature Requests   Posted: Sun Aug 23, 2015 1:27 pm   Subject: comments?
You can use /* */ style comments outside of code blocks. However, inside a code block you cannot use them and #nop <comment>; is your only option.


/* Valid Comment */
#nop Also a Valid Co ...
  Topic: About logarithmic function
LokiChaos

Replies: 1
Views: 823

PostForum: General Discussion   Posted: Thu May 21, 2015 6:59 pm   Subject: About logarithmic function
To my knowledge, and based on a quick check of tintin++'s code, there is no logarithm function supported by #math.

Your best bet is to use #script and call bc. https://en.wikipedia.org/wiki/Bc_(pro ...
  Topic: compare two lists
LokiChaos

Replies: 3
Views: 1098

PostForum: General Discussion   Posted: Sat May 16, 2015 1:45 pm   Subject: compare two lists
For a more generic test, for any length lists:

#function {listEquals} {
#var __testlist[1] {%1};
#var __testlist[2] {%2};
#var result 1;
# ...
  Topic: Help with passing variable data
LokiChaos

Replies: 9
Views: 1862

PostForum: Script Help   Posted: Fri Jan 02, 2015 10:19 pm   Subject: Help with passing variable data
#textin {file} {delay} will read in a file and send each line to the MUD.

Also '#script {cmd}' will treat the commands STDOUT as inputted commands.

See line 6 in: https://github.com/LokiChaos/M ...
  Topic: Github User's Group, Documentation & Shared Library
LokiChaos

Replies: 9
Views: 3331

PostForum: General Discussion   Posted: Mon Oct 20, 2014 10:43 pm   Subject: Github User's Group, Documentation & Shared Library
What license is it under? I wasn't able to locate anything regarding the distribution terms in the module repository.
  Topic: New Framework (Just Sharing)
LokiChaos

Replies: 6
Views: 2773

PostForum: General Discussion   Posted: Thu Apr 24, 2014 2:54 pm   Subject: New Framework (Just Sharing)

3. I had struggled with my module implementation and how to deal with persistent data. I experimented with implementing a module for managing persistent data (like LokiChaos has with his materiamagi ...
  Topic: search in variable
LokiChaos

Replies: 2
Views: 666

PostForum: Script Help   Posted: Tue Jan 28, 2014 2:59 am   Subject: search in variable
You just want to match a word in a string?

#if {"${var}" == "%* word %*"} {
#nop do stuff if word is in var;
} {
#nop do stuff if word is n ...
  Topic: Debug Framework, Wierd Behavior
LokiChaos

Replies: 2
Views: 590

PostForum: Script Help   Posted: Tue Jan 21, 2014 12:46 am   Subject: Debug Framework, Wierd Behavior
I would use:

#if {"${_FLAGS[DEBUG]}" == "ON"}
  Topic: Advice On Building "Larger" Commands (Aliases)
LokiChaos

Replies: 6
Views: 1030

PostForum: Script Help   Posted: Tue Jan 21, 2014 12:45 am   Subject: Advice On Building "Larger" Commands (Aliases)
You might want to take a look at this:
https://github.com/LokiChaos/Materiamagica-on-tintin

Specifically:
core/utility/module.tt
core/utility/lib/module.tt

And some example modules in module ...
  Topic: #class var list
LokiChaos

Replies: 4
Views: 1578

PostForum: Feature Requests   Posted: Tue Dec 03, 2013 3:03 am   Subject: #class var list
I dunno the exact syntax you would want, but it would be nice to be able to get a list of classes that exist via the #class command

eg: if #class outputs:
################################### CLASS ...
  Topic: Large arrays...
LokiChaos

Replies: 5
Views: 1914

PostForum: Script Help   Posted: Fri Oct 11, 2013 11:46 pm   Subject: Large arrays...
I made a sqlite wrapper for tintin++ I've not done a lot of testing, but it should let you call sqlite and results will be stored in an associative array.


#showme {<aef>Loading: & ...
  Topic: How do I save pathdirs?
LokiChaos

Replies: 3
Views: 951

PostForum: General Discussion   Posted: Sun Jun 23, 2013 7:13 pm   Subject: How do I save pathdirs?
I've always used tt++ core/master.tt and it's worked. Even when testing tt++ test.tt has worked reliably for me. However, I don't know if it would be different on say, MS Windows.
  Topic: one other question
LokiChaos

Replies: 1
Views: 738

PostForum: General Discussion   Posted: Sat Jun 22, 2013 6:16 pm   Subject: one other question
I would use #sub for that

#sub {^%w says, "%*"$} {%1 "%2"}

That does assume that the name before say will only be one word and not contain numbers, you can adapt the pattern as needed.
 
Page 1 of 3 Goto page 1, 2, 3  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