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 165 matches
The TinTin++ message board Forum Index
Author Message
  Topic: Wildcards in #map find and #map list
atraeyu

Replies: 1
Views: 800

PostForum: Script Help   Posted: Mon Apr 20, 2015 12:37 am   Subject: Wildcards in #map find and #map list
I can't see to get any partial (or case insensitive) matches using #map find and #map list to work. For example, if the name of the room is 'The village green', and roomdesc contains a paragraph of te ...
  Topic: TinTin++ Development Tools for Sublime Text
atraeyu

Replies: 0
Views: 1134

PostForum: General Discussion   Posted: Sun Oct 05, 2014 11:27 pm   Subject: TinTin++ Development Tools for Sublime Text
I've published a syntax highlighter for sublime text here: https://github.com/tintinplusplus/tintinplusplus-sublimetext.

It's based an the oudated one from here: https://bitbucket.org/Mifuyne/tinti ...
  Topic: Source documentation ... am I missing it?
atraeyu

Replies: 2
Views: 1553

PostForum: Development   Posted: Sun Oct 05, 2014 6:27 pm   Subject: Source documentation ... am I missing it?
There's none, you just got to grok it. Coffee

Lulz. You are a beast. It's gonna take me awhile to figure it all out.

Sphinx can parse comments out of C and will include the appropriate source in th ...
  Topic: Github User's Group, Documentation & Shared Library
atraeyu

Replies: 9
Views: 3330

PostForum: General Discussion   Posted: Sun Oct 05, 2014 5:26 pm   Subject: Github User's Group, Documentation & Shared Library
Thanks Scandum, will update with your corrections. Currently working on a way to add per-page discussions so corrections, discussions, suggestions, etc, can be attached as a 'discussion' directly to e ...
  Topic: Source documentation ... am I missing it?
atraeyu

Replies: 2
Views: 1553

PostForum: Development   Posted: Sat Oct 04, 2014 7:35 pm   Subject: Source documentation ... am I missing it?
I've been looking through tintin's source and trying to understand it. Not seeing any documentation. Am I missing something? Is it somewhere else? Is there none?
  Topic: Github User's Group, Documentation & Shared Library
atraeyu

Replies: 9
Views: 3330

PostForum: General Discussion   Posted: Sat Oct 04, 2014 6:45 pm   Subject: Github User's Group, Documentation & Shared Library
Sorry, I posted this thread initially under a different account. Was really me. Smile
FYI, it's been updated, and the unofficial docs are now hosted on read the docs and built using sphinx, here's the l ...
  Topic: Simple Map Display
atraeyu

Replies: 0
Views: 1510

PostForum: Finished Scripts   Posted: Fri Oct 03, 2014 7:15 pm   Subject: Simple Map Display
I wasn't getting good behavior out of tailing my map file, so I wrote a small bash script that does exactly what I want:

#!/usr/bin/env bash

MAP_FILE='map.txt'
MAP_SIZE='map_size.tin'
REFRESH_ ...
  Topic: Passing a list into an alias as a single argument
atraeyu

Replies: 1
Views: 1138

PostForum: Script Help   Posted: Thu Oct 02, 2014 8:26 pm   Subject: Passing a list into an alias as a single argument
Is it possible to pass a list into an alias as a single argument?

I'm trying to do this:

#alias _menu {
#var lUsage {USAGE: _menu {table} {label1;label2;label3& ...
  Topic: Help with correct variable escape syntax
atraeyu

Replies: 6
Views: 1904

PostForum: Script Help   Posted: Thu Oct 02, 2014 6:49 pm   Subject: Help with correct variable escape syntax
Can also use:

#var LOGFILE data/log/$ISODATE\.log;

That doesn't seem to work:

#OK. VARIABLE {LOGFILE} HAS BEEN SET TO {data/log/2014-10-02\.log}.
  Topic: Problem with escaping characters in #script
atraeyu

Replies: 2
Views: 960

PostForum: Script Help   Posted: Thu Oct 02, 2014 6:39 pm   Subject: Problem with escaping characters in #script
Hrm, so the problem is only with starting that line with a variable, no idea why. I can shove them easily into named tables in a nested variable as long as the initial variable name is static:

echo ...
  Topic: Problem with escaping characters in #script
atraeyu

Replies: 2
Views: 960

PostForum: Script Help   Posted: Thu Oct 02, 2014 5:45 pm   Subject: Problem with escaping characters in #script
Given the following data structure:

#VARIABLE {CMD_FILE_GRP}={{LIBRARIES}{libs}{MODULES}{modules}{PROFILES}{profiles}{ ...
  Topic: Help with correct variable escape syntax
atraeyu

Replies: 6
Views: 1904

PostForum: Script Help   Posted: Thu Oct 02, 2014 3:34 pm   Subject: Help with correct variable escape syntax
Awesome, thank you. Smile
  Topic: Help with correct variable escape syntax
atraeyu

Replies: 6
Views: 1904

PostForum: Script Help   Posted: Thu Oct 02, 2014 12:04 pm   Subject: Help with correct variable escape syntax
Sorry, I'm kicking myself for not being able to figure this out, seems so simple ... but I can't figure out the correct syntax for shoving the $ISODATE variable into the path (probably because the nex ...
  Topic: Config verbose doesn't show #format statements
atraeyu

Replies: 1
Views: 975

PostForum: Bug Reports   Posted: Thu Oct 02, 2014 11:44 am   Subject: Config verbose doesn't show #format statements
#config {VERBOSE} {ON} doesn't show variables set by #format commands:

#nop test.tin;

#format ISODATE {%t} {%Y-%m-%d};
#format ISOTIME {%t} {% ...
  Topic: Verbose Output Supressed When Reloading Files
atraeyu

Replies: 2
Views: 976

PostForum: Script Help   Posted: Thu Oct 02, 2014 9:46 am   Subject: Verbose Output Supressed When Reloading Files
Think we've been over this before. Aliases are silent.

You could try #line verbose #read test.tin

... My bad. We have been over it before. I didn't connect the dots that this was going on here. ...
  Topic: Config Verbose Data in Log File, but not Console?
atraeyu

Replies: 8
Views: 1253

PostForum: Script Help   Posted: Thu Oct 02, 2014 9:45 am   Subject: Config Verbose Data in Log File, but not Console?
There may be an issue with some #OK messages not getting handled consistently.

I'll also look at making verbose mode a little more verbose. There are a bunch of different things going on so I'd hav ...
  Topic: How to convert an epoch in microseconds to ISO?
atraeyu

Replies: 2
Views: 775

PostForum: Script Help   Posted: Wed Oct 01, 2014 8:03 pm   Subject: How to convert an epoch in microseconds to ISO?
I'm storing the current time as an epoch (so I can calculate the difference in two times later), but I want to be able to convert it to an ISO timestamp:

#function now {
#nop Return the c ...
  Topic: Config Verbose Data in Log File, but not Console?
atraeyu

Replies: 8
Views: 1253

PostForum: Script Help   Posted: Wed Oct 01, 2014 4:54 pm   Subject: Config Verbose Data in Log File, but not Console?
Might be an error, will look into it.

There are five questions there about how things work ... which one might be the error? Smile Were the other statements correct?
  Topic: Verbose Output Supressed When Reloading Files
atraeyu

Replies: 2
Views: 976

PostForum: Script Help   Posted: Wed Oct 01, 2014 4:40 pm   Subject: Verbose Output Supressed When Reloading Files
When I "reload" a file with the following command:

#alias reload {
#kill {all};
#read test.tin;
}

The #OK statements are no longer shown. At first, I thought that ...
  Topic: Config Verbose Data in Log File, but not Console?
atraeyu

Replies: 8
Views: 1253

PostForum: Script Help   Posted: Wed Oct 01, 2014 4:15 pm   Subject: Config Verbose Data in Log File, but not Console?
So I was playing around with this a little bit, just want to confirm that the following things are correct:

Messages that start with #OK are configuration commands either read from a command files ...
  Topic: Capturing Lines from TinTin
atraeyu

Replies: 1
Views: 1138

PostForum: Script Help   Posted: Wed Oct 01, 2014 1:50 pm   Subject: Capturing Lines from TinTin
Is it possible to capture lines from tintin, the way an action works against lines from the mud?

#nop This doesn't work. :(;
#action {#NO SESSION ACTIVE. USE: #session {name& ...
  Topic: Finding the length of a string
atraeyu

Replies: 1
Views: 799

PostForum: Script Help   Posted: Tue Sep 30, 2014 1:07 pm   Subject: Finding the length of a string
Is there a way to get the length of a string in tintin?
  Topic: Help with lists issues (initial structure wrong?)
atraeyu

Replies: 7
Views: 2354

PostForum: Script Help   Posted: Tue Sep 30, 2014 12:33 am   Subject: Help with lists issues (initial structure wrong?)
Ah!
Think I'm starting to get it.

So there are lists, as in #list help:

#var {1}{item1}{2}{item2}{3}{item3};

... but that's not wh ...
  Topic: Help with lists issues (initial structure wrong?)
atraeyu

Replies: 7
Views: 2354

PostForum: Script Help   Posted: Mon Sep 29, 2014 10:34 pm   Subject: Help with lists issues (initial structure wrong?)
So after thinking about this again, I'm really confused ...
Really have no idea what you meant by

In order to store a list as a variable you need to use ;

So from #help list:

#list test cre ...
  Topic: Help with lists issues (initial structure wrong?)
atraeyu

Replies: 7
Views: 2354

PostForum: Script Help   Posted: Mon Sep 29, 2014 9:24 pm   Subject: Help with lists issues (initial structure wrong?)
So to make sure I'm following along correctly ...

From #help foreach:

Example: #foreach {bob;tim;kim} {name} {tell $name Hello}
Example: #foreach { ...
  Topic: Help with lists issues (initial structure wrong?)
atraeyu

Replies: 7
Views: 2354

PostForum: Script Help   Posted: Mon Sep 29, 2014 11:27 am   Subject: Help with lists issues (initial structure wrong?)
In order to store a list as a variable you need to use ;

If you use braces it'll be stored as a table.

Hrm, ok. I don't see anything in the docs about tables. What are they, and how are they dif ...
  Topic: Split string into an array by width
atraeyu

Replies: 1
Views: 838

PostForum: Script Help   Posted: Sun Sep 28, 2014 4:50 pm   Subject: Split string into an array by width
Trying to figure out a way to split a string into an array, based a set number of characters (80).

Not seeing a way to do it. Basically I pass a large string into a formatting alias, then rather th ...
  Topic: Help with lists issues (initial structure wrong?)
atraeyu

Replies: 7
Views: 2354

PostForum: Script Help   Posted: Sun Sep 28, 2014 3:56 pm   Subject: Help with lists issues (initial structure wrong?)
So I'm running into a lot of issues, and figured the easiest way to demonstrate them would be to build a little demo script.

To summarize the issues:
- There are lots. Am I structuring my lists in ...
  Topic: Repeating a Character?
atraeyu

Replies: 1
Views: 735

PostForum: Script Help   Posted: Sun Sep 28, 2014 11:08 am   Subject: Repeating a Character?
Is it possible to repeat a character, didn't see the option in #format ...

Specifically I want to perform some math to get the number of spaces I need, then store that number of dashes in a variabl ...
  Topic: Syntax for checking if a variable does not exist
atraeyu

Replies: 1
Views: 596

PostForum: Script Help   Posted: Sat Sep 27, 2014 4:55 pm   Subject: Syntax for checking if a variable does not exist
So the syntax for checking if a variable exists is:

#if {&MODULES[$MNAME]} {

I played around to get the inverse, but nothing I've tried has worked, for example:

#if ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  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