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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sat Dec 29, 2007 2:59 pm   

CMud [2.18] Repeat within line option not in XML
 
That about says everything. But here is what you need to reproduce.

1. Open Cmud
2. Hit escape at the sessions window.
3. Hit Control+G to open the session editor
4. Highlight the code within the code tag and paste it into the editor to create the required settings.
5. Manually go and check the 'Repeat within line' option on the trigger.
6. Export the trigger via XML any way you wish. The 'Repeat within line' option is not present when you re-import the trigger.

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger priority="10">
    <pattern>({@enemies})</pattern>
    <value>#CW red
#IF (@getenemies) {enemy %1}</value>
  </trigger>
  <var name="enemies">enemy1|enemy2|enemy3</var>
  <var name="getenemies">1</var>
</cmud>
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 07, 2008 11:42 pm   
 
Added to bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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