|
hoku Newbie
Joined: 21 Dec 2001 Posts: 7 Location: USA
|
Posted: Fri Dec 21, 2001 6:46 pm
Mapping question |
This is probably a stupid question, but is there anyway for Zmud to check what room you are currently in? Like to check what the vnum of the room is automatically if the map is on? I'd like to create a script for my bot to walk around, and when I see an object on the ground in a random room, to pick up the room, check what room my bot is currently in, #walk to the store to sell the item, then #walk back to the room that I came from. Once again, thanks in advance. :)
|
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Fri Dec 21, 2001 8:20 pm |
Maybe %roomnum() would work?
#trigger {Random object in the room} {#var currroom %roomnum();#walk store;sell object;#walk @currroom}
You probably don't even have to put it in a variable, but just to be on the safe side, I put it in the variable.
Iljhar |
|
|
|
|
|
|
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
|
|