 |
parrotslave Wanderer

Joined: 01 Jul 2002 Posts: 81 Location: USA
|
Posted: Sat Dec 21, 2002 2:06 pm
Room Scripts in 6.4 |
Room scripts are executing before I enter the room.
For example, I have a room script in the bank to check my balance and count the money in my inventory. The new version tries to check my balance and shows me my money before I enter the bank.
Is there a way to set it so the script executes after I have entered the room?
Thanks! |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sat Dec 21, 2002 3:15 pm |
Just put a little delay in the room script with #ALARM.
|
|
|
 |
parrotslave Wanderer

Joined: 01 Jul 2002 Posts: 81 Location: USA
|
Posted: Sat Dec 21, 2002 5:08 pm |
quote:
Just put a little delay in the room script with #ALARM.
I tried that, it just pauses before executing the room script. I still enter the room after the script has executed. |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Dec 21, 2002 8:12 pm |
Zugg said elsewhere that this is normal behavior in "fastwalk" mode. Try using the "safe" or "slow" modes.
The roomscript gets executed when zMUD arrives at the room, not when your MUD character does. That is, the script is executed at the point when zMUD makes that room the current room on the mapper, regardless of where you actually are in the MUD.
LightBulb
Senior Member |
|
|
 |
parrotslave Wanderer

Joined: 01 Jul 2002 Posts: 81 Location: USA
|
Posted: Sun Dec 22, 2002 1:19 pm |
I tried switching to safe mode and slow mode. The room scripts didn't execute in either mode.
|
|
|
 |
|
|