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 38 matches
The TinTin++ message board Forum Index
Author Message
  Topic: Saving Vars to Class Files - #Math doesn't update?
new_to_tin_tin

Replies: 3
Views: 114

PostForum: Script Help   Posted: Wed Jan 10, 2018 6:18 pm   Subject: Saving Vars to Class Files - #Math doesn't update?
Yes, you need to define the variables while the class is opened for them to be added to the class.

I guess I thought that this is what I was doing with the opening code:

#class icefall_crumble_t ...
  Topic: Saving Vars to Class Files - #Math doesn't update?
new_to_tin_tin

Replies: 3
Views: 114

PostForum: Script Help   Posted: Mon Jan 08, 2018 11:01 am   Subject: Saving Vars to Class Files - #Math doesn't update?
This code didn't save the variables correctly until I added #var icefall_crumbled {$icefall_crumbled};
#var icefall_crumbled_qty {$icefall_crumbled_qty};
>
To this file:
#cl ...
  Topic: Sorting a multicolumn list....
new_to_tin_tin

Replies: 2
Views: 124

PostForum: Script Help   Posted: Sun Nov 12, 2017 7:44 pm   Subject: Sorting a multicolumn list....
I have a #list that looks like this:

#VARIABLE {item_list}={
{1}{{expire}{126636}{objectid}{1884442523}}
{2}&# ...
  Topic: Issue with #if and \;
new_to_tin_tin

Replies: 3
Views: 222

PostForum: Bug Reports   Posted: Fri Jul 21, 2017 4:36 pm   Subject: Issue with #if and \;
When trying to match strings with \; in them, #if doesn't seem to correctly match. See this sample code from version 2.01.2.


#alias testerdebug5 {

#showme ;
#showme --- ...
  Topic: How to Use Lua Functions
new_to_tin_tin

Replies: 1
Views: 204

PostForum: Script Help   Posted: Wed May 24, 2017 9:14 pm   Subject: How to Use Lua Functions
Not sure if there is an EASIER way to do this, but I figured out A way using #script.

From this page:
https://stackoverflow.com/questions/30426650/how-to-pass-aruments-to-a-lua-function-from-comma ...
  Topic: How to Use Lua Functions
new_to_tin_tin

Replies: 1
Views: 204

PostForum: Script Help   Posted: Wed May 24, 2017 6:21 pm   Subject: How to Use Lua Functions
I have a Lua function that takes two string arguments and then returns a number.

I'm trying to call it from Tintin, but can't figure out how to get it to work. Ideally I'd be able to pass two tint ...
  Topic: Using #cursor set when using #split
new_to_tin_tin

Replies: 3
Views: 290

PostForum: Script Help   Posted: Thu Mar 23, 2017 6:32 am   Subject: Using #cursor set when using #split
Could be a problem with your terminal emulator?

It's an error that's hard for me to reproduce.

It appears in .63 version of putty and in Blackberry SSH. I'm accessing machine running Ubuntu. B ...
  Topic: Using #cursor set when using #split
new_to_tin_tin

Replies: 3
Views: 290

PostForum: Script Help   Posted: Tue Mar 21, 2017 8:14 pm   Subject: Using #cursor set when using #split
I should add, since it's probably very important, #cursor set is being called from an action when I have a lot of text coming across my screen.

When I just type #cursor set {sometext} and nothing ...
  Topic: Using #cursor set when using #split
new_to_tin_tin

Replies: 3
Views: 290

PostForum: Script Help   Posted: Tue Mar 21, 2017 8:12 pm   Subject: Using #cursor set when using #split
I have a split at the bottom where I can type text in. When I use
#cursor {set} {sometext}

It correctly queues up that text, so that when I press enter it's sent to the MUD, but I guess I was ex ...
  Topic: Trying to remove a bunch of (XX) at start of a line
new_to_tin_tin

Replies: 2
Views: 215

PostForum: Script Help   Posted: Tue Mar 21, 2017 8:03 pm   Subject: Trying to remove a bunch of (XX) at start of a line
Thanks this worked great. I was confused the part of the manual that said ( ) are treated as normal text, unless within braces, but that braces are replaced by ( )....But I've never been good at rege ...
  Topic: Trying to remove a bunch of (XX) at start of a line
new_to_tin_tin

Replies: 2
Views: 215

PostForum: Script Help   Posted: Sun Mar 19, 2017 5:05 pm   Subject: Trying to remove a bunch of (XX) at start of a line
I'm trying to take a variable that has text like this:
(Invis) (Hidden) (Translucent) (Golden Aura) (White Aura) A mob is here.

and just extract this part into a var:
"A mob is here."

It seems ...
  Topic: Delay but want the value of a variable when I call the delay
new_to_tin_tin

Replies: 3
Views: 353

PostForum: Script Help   Posted: Sun Feb 05, 2017 6:46 pm   Subject: Delay but want the value of a variable when I call the delay
Try this:


#line substitute variable #delay 30 {grouptalk $area will repop in one minute};


That seemed to work, thanks! Don't see what the variable/substitute options do, at least ...
  Topic: Delay but want the value of a variable when I call the delay
new_to_tin_tin

Replies: 3
Views: 353

PostForum: Script Help   Posted: Sun Feb 05, 2017 10:06 am   Subject: Delay but want the value of a variable when I call the delay
#delay 30 {grouptalk $area will repop in one minute};

This code will display whatever the current $area var is when the delay fires. Is there any way to have it display the value of the area var w ...
  Topic: SQLite Script Help
new_to_tin_tin

Replies: 2
Views: 380

PostForum: Script Help   Posted: Fri Jan 20, 2017 3:02 pm   Subject: SQLite Script Help
What version did you used before ?

I get the same errors in the 2.01.1

EDIT:

Try to change this line

#forall {${__db[Res]}} {


with this


#forall & ...
  Topic: SQLite Script Help
new_to_tin_tin

Replies: 2
Views: 380

PostForum: Script Help   Posted: Thu Jan 19, 2017 8:01 pm   Subject: SQLite Script Help
Someone was nice enough to give me the SQLite script below on this forum. Works decently, but is a tad slow on my older computer. Although outside of tintin I can access SQLite quick enough through ...
  Topic: Formatting to the width of screen
new_to_tin_tin

Replies: 3
Views: 324

PostForum: Script Help   Posted: Sat Jan 14, 2017 6:25 pm   Subject: Formatting to the width of screen
Do you mean like this ?


#format {chanmsg} {%.${screen_width}s} {$chanmsg};


That happens to be exactly what I was looking for thank you! Never had to ...
  Topic: Formatting to the width of screen
new_to_tin_tin

Replies: 3
Views: 324

PostForum: Script Help   Posted: Sat Jan 14, 2017 5:10 pm   Subject: Formatting to the width of screen
I can get the width of the screen like this:
#format {screen_width} {%C};

And I can use this to fill a variable with at most 100 characters:
#format {chanmsg} {%.100s} {$chanmsg};

But is there ...
  Topic: Large arrays...
new_to_tin_tin

Replies: 5
Views: 1937

PostForum: Script Help   Posted: Tue Oct 15, 2013 6:08 pm   Subject: Large arrays...
My generic MySQL Tintin++ connector script is in the finished scripts forum:



I'm using 2.00.8, which I compiled from the source using directions here: http://tintin.sourceforge.net/board/viewto ...
  Topic: Large arrays...
new_to_tin_tin

Replies: 5
Views: 1937

PostForum: Script Help   Posted: Tue Oct 15, 2013 6:02 pm   Subject: Large arrays...
Can't thank you enough LokiChaos!Ecstatic This is exactly what I was looking for. I actually tried to fashion something similar with balthus's script as an example, but I gave up when I couldn't get the ...
  Topic: Put some text on the input bar, but not send it to the MUD
new_to_tin_tin

Replies: 3
Views: 756

PostForum: Script Help   Posted: Fri Oct 11, 2013 7:21 pm   Subject: Put some text on the input bar, but not send it to the MUD
It's not possible at the moment. I guess I'll add it to my todo list because people ask about it from time to time.

Thank you very much. I'd use it all the time if I had the option. In the mean t ...
  Topic: Large arrays...
new_to_tin_tin

Replies: 5
Views: 1937

PostForum: Script Help   Posted: Fri Oct 11, 2013 7:11 pm   Subject: Large arrays...
What do you guys do for very large data sets?

Using the directions for large lists here:
http://tintin.sourceforge.net/scripts/itemlist.php
I tried to create a mob database. I'm talking over 10k ...
  Topic: Put some text on the input bar, but not send it to the MUD
new_to_tin_tin

Replies: 3
Views: 756

PostForum: Script Help   Posted: Tue Jul 23, 2013 8:05 pm   Subject: Put some text on the input bar, but not send it to the MUD
Is there any way to put some text on the input area, but not send it to the MUD?

I'd like to queue up a command based on an action, but not send it to the MUD until I manually press enter. Is this ...
  Topic: SQLite
new_to_tin_tin

Replies: 1
Views: 959

PostForum: Script Help   Posted: Thu Dec 27, 2012 10:34 pm   Subject: SQLite
Lua has a very good SQLite wrapper I've used in other clients, but I haven't the slightest idea if it is possible to use it in tintin. Anyone here used it in tintin and have some examples they can po ...
  Topic: Changing format of just one #line log
new_to_tin_tin

Replies: 2
Views: 678

PostForum: Script Help   Posted: Sun Dec 02, 2012 6:23 pm   Subject: Changing format of just one #line log
I generally want most of my logs in raw format, because they get sent right to another window via tail...but there is one channel I want logged plain text. Is there anyway to change the setting or lo ...
  Topic: Escaping #unaction Help
new_to_tin_tin

Replies: 2
Views: 536

PostForum: Script Help   Posted: Sat May 19, 2012 9:14 pm   Subject: Escaping #unaction Help
I feel like I need more than my fair share of help on nearly every plugin I try to make, but alas here I am again.

For the life of me I can't figure out how to unaction this action. Wish we had a ...
  Topic: Getting area: to display when doing a #map list
new_to_tin_tin

Replies: 3
Views: 797

PostForum: Script Help   Posted: Tue May 08, 2012 9:03 pm   Subject: Getting area: to display when doing a #map list
Thanks - that worked perfectly - never occurred to me that it was different source!
  Topic: Getting area: to display when doing a #map list
new_to_tin_tin

Replies: 3
Views: 797

PostForum: Script Help   Posted: Tue May 08, 2012 8:24 pm   Subject: Getting area: to display when doing a #map list
I've seen in other people's posts that the area displays when they do a #map list {room name}

Like so:

#map list {Guard Room}
vnum: 11424 distance: 35.000 area: ...
  Topic: Nested arrays in a list
new_to_tin_tin

Replies: 3
Views: 801

PostForum: Script Help   Posted: Fri Apr 27, 2012 6:01 pm   Subject: Nested arrays in a list
Thanks, that did the trick.

I much prefer this method. Much cleaner, especially when dealing with deletes and inserts.
  Topic: Nested arrays in a list
new_to_tin_tin

Replies: 3
Views: 801

PostForum: Script Help   Posted: Thu Apr 26, 2012 6:26 pm   Subject: Nested arrays in a list
I am trying to track a lot of data over a day it seems a list with an array would be a good way. Had considered one list for each data item but I prefer a array inside a list.

I tried this code, b ...
  Topic: Question on Mapper File
new_to_tin_tin

Replies: 4
Views: 1381

PostForum: Script Help   Posted: Thu Mar 22, 2012 5:14 pm   Subject: Question on Mapper File
Awesome, this is very helpful!!!

I see there is a way to add weights to a room, is there any way to add a weight to an exit instead or level lock, avoid an exit?

There are some rooms which are o ...
 
Page 1 of 2 Goto page 1, 2  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