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
nimrod
Newbie


Joined: 31 Dec 2002
Posts: 4
Location: Sweden

PostPosted: Mon Feb 17, 2003 10:40 pm   

some trigger help
 
heya, me and some friends are using a trigger to sub multi tells so it looks like a channel the trigger looks like this:

For outgoing tells:
^You {tell|ask} %trim(*): ~[op~]
#SUB {%ansi( bold, white)~[%ansi( bold, red)über%ansi( bold, white)~] %ansi( grey)Matje:}

and incoming:
^(%w) {tells|asks} %trim(*): ~[cp~]
#SUB {%ansi( bold, white)~[%ansi( bold, red)über%ansi( bold, white)~] %ansi( grey)%1:}

It looks like this: [über] Matje: just testing

Now, this is working really good but the thing I would like to have some help with is create a trigger to cap the channel tells and store them in a seperate window. I got a simillar one for regular tells and stuff but I havent managed to cap the channel. cap tells you: isnt working since I think it subs the tell before it checks for a cap tell and cap ~[über~] isnt working either.

any help would be very much appreciated

thanks
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Feb 18, 2003 12:08 am   
 
quote:

heya, me and some friends are using a trigger to sub multi tells so it looks like a channel the trigger looks like this:

For outgoing tells:
^You {tell|ask} %trim(*): ~[op~]
#SUB {%ansi( bold, white)~[%ansi( bold, red)über%ansi( bold, white)~] %ansi( grey)Matje:}

and incoming:
^(%w) {tells|asks} %trim(*): ~[cp~]
#SUB {%ansi( bold, white)~[%ansi( bold, red)über%ansi( bold, white)~] %ansi( grey)%1:}

It looks like this: [über] Matje: just testing

Now, this is working really good but the thing I would like to have some help with is create a trigger to cap the channel tells and store them in a seperate window. I got a simillar one for regular tells and stuff but I havent managed to cap the channel. cap tells you: isnt working since I think it subs the tell before it checks for a cap tell and cap ~[über~] isnt working either.

any help would be very much appreciated

thanks



If you want the original version of the tell then simply put in a #capture in each trigger. If you want the subbed version, then forget about #capture and use #window instead.

li'l shmoe of Dragon's Gate MUD
Reply with quote
nimrod
Newbie


Joined: 31 Dec 2002
Posts: 4
Location: Sweden

PostPosted: Tue Feb 18, 2003 11:12 pm   
 
thanks Matt that worked out good, however is there a way to prevent the trigger to cap it twice? atm 2 messeges is showing up in my cap_tell window:
--
[über] Matje: test
Matje tells you, Telal: [op] test
--

thanks,
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