Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if "$roomid" = "0" then GOSUB moveRandomDirection
- moveRandomDirection:
- if $east then
- {
- put east
- return
- }
- if $north then
- {
- put north
- return
- }
- if $northeast then
- {
- put northeast
- return
- }
- if $southeast then
- {
- put southeast
- return
- }
- if $south then
- {
- put south
- return
- }
- if $southwest then
- {
- put southwest
- return
- }
- if $west then
- {
- put west
- return
- }
- if $northwest then
- {
- put northwest
- return
- }
- if $out then
- {
- put out
- return
- }
- if $up then
- {
- put up
- return
- }
- if $down then
- {
- put down
- return
- }
- echo no random direction possible? looking to attempt to reset room exit vars
- #might need a counter here to prevent infinite loops
- put look
- waitforre ^Obvious
- pause
- goto moveRandomDirection
Advertisement
Add Comment
Please, Sign In to add comment