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


Joined: 09 Jun 2002
Posts: 2
Location: Belarus

PostPosted: Sun Jun 09, 2002 5:48 am   

Trouble with capturing.
 
I capture strings from our guild cahnnel into special window.

Example of output:
Rhi says guild 'test'

I use such a pattern for trigger:
(*) says guild '(*)'
And such command:
#win guild %1: %2

But when people use special characters in their tell my trigger doesn't work. (for example - smile %) ). Can I force it to shoot?
Reply with quote
Pega
Magician


Joined: 08 Jan 2001
Posts: 341
Location: Singapore

PostPosted: Sun Jun 09, 2002 7:15 am   
 
Use %*.
Pattern for trigger:

(%w) says guild '(%*)'
Command:
#win guild {%1: %2}
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