Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Zappo
Newbie


Joined: 03 Apr 2004
Posts: 3
Location: Sweden

PostPosted: Sat Apr 03, 2004 11:59 pm   

Trigger question
 
Im trying to configure my mapper ... and ofcourse the autoconfiguation messes up everything so I have to do it manually. And then it hits me I dont know how Very Happy Well that wasnt so hard to learn.

The problem is that the room names are Underlined and I dont know how to trigger on that. So if there is a nice mudder out there that knows how to do that please help me.

Thanx in advance.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 04, 2004 12:34 am   
 
Quite possible you can capture them using an ANSI TRIGGER what you can do is take and higlight a roomname Create a NEW trigger and select the Ansi Trigger option and paste with shift-ins or ctrl whatever *mouse pasteing will not work* then keeping the %e[numbers and such erase the roomname and replace it with ^(*)$ if it the only thing on that line so your final trigger looks something like this

Pattern:
^%e[1,36(*)$
Value
#TAG name {%1}

Post an example of a few rooms if that doesn't work and someone will gladly help you
Reply with quote
Zappo
Newbie


Joined: 03 Apr 2004
Posts: 3
Location: Sweden

PostPosted: Sun Apr 04, 2004 9:44 pm   
 
Yes I did all that and here is what I got.

#Trigger {%e[1;4;36m(*)$} {#Tag name {%1}}
#Trigger {Obvious Exits~: ~[(*)~]} {#Tag exit {%1}}

The only thing that works properly is the exit Tag the name Tag adds stuff to the line like this.
The Waiting Room
{The Waiting Room}
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 04, 2004 10:38 pm   
 
Try adding %e[0m before the $

#Trigger {%e[1;4;36m(*)%e[0m$} {#Tag name {%1}}
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Apr 04, 2004 10:43 pm   
 
You can also use the %stripansi function.
Reply with quote
Zappo
Newbie


Joined: 03 Apr 2004
Posts: 3
Location: Sweden

PostPosted: Mon Apr 05, 2004 8:00 pm   
 
Thanks guys really appreciate the help I got here.
Was on the edge to insanity here but I got it all working now =)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net