torvawk Newbie
Joined: 27 Apr 2005 Posts: 7
|
Posted: 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("")
|
|
|