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


Joined: 27 Apr 2005
Posts: 7

PostPosted: Wed May 04, 2005 4:23 pm   

scripts run differently in follow mode vs. map mode
 
Hello all,

Maybe you can help me. I need to update the room cost of all the rooms in the current zone. I have the script below assigned to an alias. In follow mode it works great except it does not update the room cost. The reason is obvious, I am not in map mode. I switch to map mode an now it cannot retrieve the room information and does not update the room cost. I don't understand why it fails under map mode. Did I over look anything?

Code:

#call %mapfilter(%concat("ZoneID = ",%zonenum()))
#show %concat( %numrooms(), ":" )
#loop %numrooms() {
   #call %roomcost(%mapvnum(%i),%1)
   #sho %concat( %i, "::", %roomname( %mapvnum( %i)), ":", %mapvnum(%i), ":", %roomcost( %mapvnum( %i)))
}

#call %mapfilter("")
Reply with quote
torvawk
Newbie


Joined: 27 Apr 2005
Posts: 7

PostPosted: Tue May 10, 2005 10:23 pm   
 
No thoughts from anyone? Should I submit a bug then?
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