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
Wspaedt1977
Beginner


Joined: 13 Feb 2022
Posts: 13

PostPosted: Thu Mar 10, 2022 6:22 pm   

Not moving after death
 
Ok It fires when I use the startalign alias, It kills the monsters, grabs all the stuff from corpses, then doesn't move to the next room. It then adds +1 to the step variable cause I seeming the value change in cmud. What am I missing as to why it won't move?

<class name="{bots|align}" id="232">
<alias name="startalign" id="233">
<value>shard monster</value>
</alias>
<var name="align" id="234">se|e|e|e|e|e|e|e|e|e|e|ne|sw|s|s|s|s|s|s|w|w|s|s|s|s|se|u|d|nw|w|w|w|w|w|w|sw|u|d|ne|n|n|n|n|w|w|n|n|n|n|n|n|nw</var>
<trigger priority="2350" id="235">
<pattern>You killed *.</pattern>
<value>get money from monster corpses
get shards from corpses
get shards
#t- bots
#wait 650
#t+ bots</value>
</trigger>
<trigger priority="2360" id="236">
<pattern>You can't seem to find your target to shard</pattern>
<value>%item( @align, (@steps))
#wait 1000
shard monster
#math steps {@steps+1}
#if @steps&gt;=53 {
#t- bots
#wa 10000
#t+ bots
startalign
}</value>
</trigger>
<var name="steps" type="String" id="237"> </var>
</class>
Reply with quote
shalimar
GURU


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

PostPosted: Thu Mar 10, 2022 8:31 pm   
 
Try:
#SEND {%item( @align, @steps)}
_________________
Discord: Shalimar#3679
Reply with quote
chaossdragon
Apprentice


Joined: 09 Apr 2008
Posts: 148

PostPosted: Thu Mar 10, 2022 11:15 pm   
 
Was going to say this sounds like the Issue I was having with "%pop(Var)" and having to use "#EXEC {%pop(Var)}
Reply with quote
Wspaedt1977
Beginner


Joined: 13 Feb 2022
Posts: 13

PostPosted: Sat Apr 02, 2022 12:49 am   
 
Thanks
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