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
daren
Beginner


Joined: 25 Aug 2002
Posts: 13
Location: Australia

PostPosted: Tue Sep 03, 2002 7:33 am   

capturing channels
 
ok here's the thing on achaea You have clan channels guild channels and such, i am trying to capture those channels problem is it can be on multiple lines sometimes, what would be the best way to do this
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Sep 03, 2002 12:44 pm   
 
The best way to do this varies from MUD to MUD. If you provide some sample MUD output, we might be able to help you with soemthing. Otherwise, the best I can say is to look for anything that lets you know that a line received is a continuation of some previous tell/say/etc.

Kjata
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Sep 03, 2002 8:56 pm   
 
Search yields:

Finished MUD Scripts -0 Achaea Channel capture script by Lalaynya.

Other ideas at capturing to a window

Ton Diening
Reply with quote
daren
Beginner


Joined: 25 Aug 2002
Posts: 13
Location: Australia

PostPosted: Wed Sep 04, 2002 8:07 am   
 
I just wanted to let you know i figured out a way that does everything i want, i'll outline it now since someone might come up with a better way,

(Jesters): Rak says, "If your looking for something refreshing and new, try
hunting down north reach or whatever, the second newest area."

the above is a sample of one of the guild channels, what i ended up doing is creating a trigger that runs like this

~(Jesters~): (%w) says, ~"(*)
#win jestertells ~(jesters~) %1 say's %2

then putting a new state in that trigger with
(*)
#win jestertells %1

this second state has a looplines 4 option set.

at the same time my prompt trigger resets the state every time it show's

it seems to be working ok, better then my last attempt at least
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