I have little to no scripting experience so I was wondering if someone could help me make a fairly simple script. I'm trying to make a script that will go in a random direction (east west south north) other than the direction that it came from. It would also need to somehow recognize a deadend and go in that case go back the direction it came from. The exits in the world show up between the colon and ] in [exits: ] and are seperated by commas.
example: [exits: west, north, south, east]
It would also need to go down when down is an availble exit and stop the script on a certain output from the world. Can anyone provide me with or help me make a script like this for Mush Client? Thanks.
example: [exits: west, north, south, east]
It would also need to go down when down is an availble exit and stop the script on a certain output from the world. Can anyone provide me with or help me make a script like this for Mush Client? Thanks.