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
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4797
Location: Pensacola, FL, USA

PostPosted: Sat Jan 30, 2010 3:58 pm   

[3.13] "Named" #Temp in #Alias
 
Code:
<alias name="keepSearching" id="18772">
  <value>#TEMP "moreToFind" {Item found!} {
  #WAIT %eval( %random( 120,180)*1000)
  #EXEC {keepSearching}
  }
search</value>
</alias>


This tells me I have unmatched braces.... where?
Yet if i take out the #TEMP's name it is fine.
_________________
Discord server
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sun Jan 31, 2010 2:49 am   
 
The parser doesn't understand creation of the temp trigger if it is on more than one line. (I don't know why, but that is what is happening.)

This works though.
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <alias name="keepSearching" copy="yes">
    <value>#TEMP "moreToFind" {Item found!} {#WAIT %eval( %random( 120, 180)*1000);#EXEC {keepSearching}}
search</value>
  </alias>
</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 Feb 01, 2010 6:09 pm   
 
Confirmed and added to bug list. Looks like a side effect of fixing the zs.temp command somehow.
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