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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
HerenIstarian
Novice


Joined: 30 Oct 2005
Posts: 40

PostPosted: Fri Jul 15, 2011 7:35 pm   

Is there a way to exempt certain captures?
 
For example I capture "* shouts:"

But there are these mobs that constantly shout while I fight them and they use the same ansi and the same format as the player shouting.

Is there some sort of exemption command or an editor gag trigger?
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Sun Jul 17, 2011 2:43 pm   
 
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger name="shouts_example1" priority="30" copy="yes">
    <pattern>(*) shouts:</pattern>
    <value>#if (!%ismember(%1, @nocap)) {#cap shouts}</value>
  </trigger>
</cmud>

Here you add any name you don't want to have shouts captured for to a string list variable named nocap. Any shouts from people/things on that list won't be captured but all others will.
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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