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 164 matches
The TinTin++ message board Forum Index
Author Message
  Topic: regexp string word by word?
goofy

Replies: 3
Views: 840

PostForum: Script Help   Posted: Sat Feb 20, 2016 5:34 pm   Subject: regexp string word by word?
T
H
A
N
K

Y
O
U
Ecstatic

I will check this out PowerGod.

Thank you for teaching me to use regexp better.
  Topic: regexp string word by word?
goofy

Replies: 3
Views: 840

PostForum: Script Help   Posted: Tue Feb 16, 2016 9:02 pm   Subject: regexp string word by word?
I get one of these lines.

Seringale Timaran
Seringale Timaran Solace
Seringale Valour Timaran
Seringale Valour Timaran Solace
Seringale Timaran Solace Darkhaven

Preceded by this line:
The f ...
  Topic: random do (SOLVED)
goofy

Replies: 1
Views: 562

PostForum: Script Help   Posted: Tue Feb 16, 2016 1:50 pm   Subject: [SOLVED]
I was going over an old script of mine and found the example I had in mind.

#switch {1d3} {
#case 1 {neutral;#var align neutral;};
#case 2 {good;#var align g ...
  Topic: random do (SOLVED)
goofy

Replies: 1
Views: 562

PostForum: Script Help   Posted: Tue Feb 16, 2016 1:08 pm   Subject: random do (SOLVED)
I've seen a tin script once which went something like this:

#math roll 1d3
#if { "$roll" == "1" } { #echo 1 };
#if { "$roll" == "2" } { #echo 2 };
#if { "$roll" == "3" } { #echo 3 };

Only it ...
  Topic: Debian/Ubuntu configure desktop/terminal and launch
goofy

Replies: 0
Views: 1991

PostForum: Unix Shell   Posted: Sun Feb 14, 2016 1:46 pm   Subject: Debian/Ubuntu configure desktop/terminal and launch
This will configure Ubuntu or Debian (lxde, mate, gnome, cinnamon or kde) to launch abandonedrealms in a maximized terminal with dark background and create a desktop shortcut.

I plan on expanding i ...
  Topic: Multiple actions with same text and different script body
goofy

Replies: 5
Views: 1640

PostForum: Script Help   Posted: Wed Feb 10, 2016 11:16 pm   Subject: Multiple actions with same text and different script body
I'm fairly new to this, allow me to try and help...

Execute both


#act { You are HIT! } {

Do your cat;

Do your gerbal;

};



Execute based on priori ...
  Topic: Set up vim highlighting syntax for tt++
goofy

Replies: 3
Views: 1007

PostForum: General Discussion   Posted: Sun Jan 24, 2016 10:27 pm   Subject: Set up vim highlighting syntax for tt++
This is aimed at (novice) Debian users,
it may work for other linux distros though.

Debian doesn't have full vim installed by default, so...
open root terminal and enter the command below

apt ...
  Topic: TinTin Development
goofy

Replies: 25
Views: 7400

PostForum: General Discussion   Posted: Sun Jan 24, 2016 10:12 pm   Subject: TinTin Development
Keeping Tintin++ stable and available in the Debian repositories is something I am passionate about. Thank you for keeping it up to date and making it great Scandum, you are the best.
  Topic: using replace with nested variables
goofy

Replies: 5
Views: 986

PostForum: Script Help   Posted: Sat Jan 23, 2016 10:21 pm   Subject: using replace with nested variables
Thank you both. Your understanding is surely greater than my own. I will play with these snippets and see how they work.



Thanks again. Godspeed.
  Topic: using replace with nested variables
goofy

Replies: 5
Views: 986

PostForum: Script Help   Posted: Wed Jan 20, 2016 3:31 pm   Subject: using replace with nested variables
For the time being I've got this workaround going.

#if { "%0" == "ROOM_EXITS" } {

#list testexits clear;

#nop { Reformat msdp room ...
  Topic: using replace with nested variables
goofy

Replies: 5
Views: 986

PostForum: Script Help   Posted: Wed Jan 20, 2016 2:07 pm   Subject: using replace with nested variables
I'm having trouble figuring this one out. Could someone please give me a hand?

I've also been experimenting with list tokenize in my attempts.

#var room[exits]
#VARIABLE {exits ...
  Topic: MSDP Blank Line Issues
goofy

Replies: 6
Views: 1222

PostForum: Script Help   Posted: Fri Jan 15, 2016 4:24 pm   Subject: MSDP Blank Line Issues
I have found setting my msdp variables like this works for tintin++ and wintin++

#if { "%0" == "ROOM_VNUM" } {#var room.vnum %1};

For msdp_room_exits, due ...
  Topic: function in msdp event causes carrriage return.
goofy

Replies: 2
Views: 853

PostForum: Script Help   Posted: Thu Jan 14, 2016 3:30 pm   Subject: function in msdp event causes carrriage return.
SOLVED.

I did not need a function for this.

I needed an... alias! yay, it works!


#alias {replce_color_codes %1} {
#replace {%1} {`1} {< ...
  Topic: function in msdp event causes carrriage return.
goofy

Replies: 2
Views: 853

PostForum: Script Help   Posted: Wed Jan 13, 2016 1:54 pm   Subject: function in msdp event causes carrriage return.
I usually change my room map colors like this.


#event {IAC SB MSDP} {
#if { "%0" == "ROOM_MAP" } {
#nop { Replace map color co ...
  Topic: MSDP Blank Line Issues
goofy

Replies: 6
Views: 1222

PostForum: Script Help   Posted: Wed Jan 13, 2016 1:36 pm   Subject: MSDP Blank Line Issues
Are you using the default msdp script provided by scandum @ #class prompt open;

#nop { Begin capturing prompt when this message is sent by msdp class. };

#act {You snap suddenly o ...
  Topic: cause another session to run a function
goofy

Replies: 2
Views: 841

PostForum: Script Help   Posted: Fri Dec 04, 2015 3:44 pm   Subject: cause another session to run a function
I don't know about a function but after reading the help file on sessions I was able too incorporate these alternative session actions into my script.

notice: gts is the fallback session for when y ...
  Topic: the use of ;
goofy

Replies: 4
Views: 1250

PostForum: Script Help   Posted: Sat Nov 21, 2015 9:37 pm   Subject: the use of ;
Aiight Powah Gawd. Dat might be da issue. Tanks a lot, I'm gonna get me a linux command and do just that, it's gonna be sharp! Keep it real my Mentor! See ya on da flip side. Ecstatic
  Topic: the use of ;
goofy

Replies: 4
Views: 1250

PostForum: Script Help   Posted: Thu Nov 19, 2015 6:53 pm   Subject: the use of ;
I sometimes use this.

#action {this} {

do something;

#line gag;

};

OR

#action {this} { #line gag; };

However, I've come to realize; putting a ; after line gag can send ...
  Topic: loop within regexp?
goofy

Replies: 4
Views: 1097

PostForum: Script Help   Posted: Thu Nov 19, 2015 6:49 pm   Subject: loop within regexp?
Thank you PowerGod. I appreciate that.
  Topic: loop within regexp?
goofy

Replies: 4
Views: 1097

PostForum: Script Help   Posted: Tue Nov 17, 2015 6:22 pm   Subject: loop within regexp?
Not seeming to work either... Thank you for the suggestions. It isn't too important for me to solve it at the moment, while more suggestions are welcome I think I will post another question soon.
  Topic: loop within regexp?
goofy

Replies: 4
Views: 1097

PostForum: Script Help   Posted: Mon Nov 16, 2015 7:32 pm   Subject: loop within regexp?
Is it possible for me to turn something like this

#if {"$MSDP_ROOM_MAP" == "%+]m%+]m%+]m%+]m%+]m%+]m%+]m%+]m%+]m%+$" } { ...
  Topic: take line word by word into variable list.
goofy

Replies: 5
Views: 1387

PostForum: Script Help   Posted: Wed Nov 11, 2015 3:09 pm   Subject: take line word by word into variable list.
Thank you PowerGod, I will utilize.
  Topic: take line word by word into variable list.
goofy

Replies: 5
Views: 1387

PostForum: Script Help   Posted: Wed Nov 11, 2015 3:47 am   Subject: take line word by word into variable list.
I've worked it out.

I believe I have used this solution before.

For me the key wasn't so much in regexp as it was in replace.


#act {Your current config is...} {

#act & ...
  Topic: take line word by word into variable list.
goofy

Replies: 5
Views: 1387

PostForum: Script Help   Posted: Wed Nov 11, 2015 2:35 am   Subject: take line word by word into variable list.
Thank you very much PowerGod.


#act {Your current config is...} {

#act {^%w: %s%%0} {

#format {configx} {%l} {%%1} ...
  Topic: take line word by word into variable list.
goofy

Replies: 5
Views: 1387

PostForum: Script Help   Posted: Tue Nov 10, 2015 6:51 pm   Subject: take line word by word into variable list.
Using Wintin++ I would like to create lists from


list1: item1 item2 (item3)

list2: item1 itme2


such as:


list1{{1}{item1}{item2} ...
  Topic: wintin mintty #system
goofy

Replies: 3
Views: 941

PostForum: Script Help   Posted: Tue Nov 10, 2015 6:46 pm   Subject: wintin mintty #system
Thank you for your replies.

I've since read the FAQ and gotten this info.


Q2. The #system, #script, #run, and #suspend commands don't work.
A2. These commands require a command shell to exe ...
  Topic: wintin mintty #system
goofy

Replies: 3
Views: 941

PostForum: Script Help   Posted: Mon Oct 26, 2015 4:14 pm   Subject: wintin mintty #system
Greetings and salutations dear comrades!

I don't know a lot about windows...

for linux I would use #system {clear} to clear terminal

How to do this with Wintin and mintty?
  Topic: split tmux, set width/height variables for each pane
goofy

Replies: 1
Views: 5521

PostForum: Finished Scripts   Posted: Mon Dec 22, 2014 7:24 pm   Subject: split tmux, set width/height variables for each pane
updated tmux.tt
questions are welcome.
#nop c--------------------o tmux split-window,
#nop | tmux.tt | tail data from msdp
#nop c--------------------c
#nop sc ...
  Topic: Achaea mud healthbar, wintin++.
goofy

Replies: 1
Views: 2695

PostForum: Finished Scripts   Posted: Tue Dec 16, 2014 8:59 am   Subject: Achaea mud healthbar, wintin++.
neat.
  Topic: Mud.desktop launcher+icon for linux
goofy

Replies: 1
Views: 1143

PostForum: Finished Scripts   Posted: Sun Dec 14, 2014 4:47 am   Subject: Mud.desktop launcher+icon for linux
Here is a TinTin++ script to automatically generate a desktop icon for launching your mud.

This uses Debian Linux with the Gnome desktop package (aptitude install task-gnome-desktop)

(Gnome is c ...
 
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