Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- as an example here is the table and the function I use
- direction_list = {
- "southwest",
- "west",
- "east",
- "in",
- "out",
- "down",
- "west",
- "out",
- "west",
- "south",
- "southwest",
- "west",
- "southeast",
- "south",
- "north",
- "east",
- "southeast",
- "west",
- "south",
- "west",
- "south",
- "north",
- "southeast",
- "northeast",
- "southeast",
- "southwest",
- "south",
- "southeast",
- "west",
- "south",
- "east",
- "in",
- "out",
- "west",
- "north",
- "swim northwest",
- "swim southwest",
- "swim east",
- "swim up",
- "west",
- "east",
- "swim down",
- "swim west",
- "swim northeast",
- "swim west",
- "swim up",
- "swim down",
- "swim east",
- "swim north",
- "swim northwest",
- "swim up",
- "swim down",
- "swim north",
- "swim west",
- "swim up",
- "south",
- "northwest",
- "northeast",
- "swim down",
- "swim east",
- "swim northeast",
- "swim northwest",
- "swim east",
- "swim northwest",
- "swim up",
- "swim down",
- "swim north",
- "swim northwest",
- "swim up",
- "swim down",
- "swim southeast",
- "swim east",
- "swim southeast",
- "northeast",
- "east",
- "northeast",
- "northwest",
- "northwest",
- "west",
- "southwest",
- "southeast",
- "up",
- "down",
- "northwest",
- "northeast",
- "northwest",
- "west",
- "northwest",
- "southeast",
- "east",
- "northeast",
- "east",
- "south",
- "northeast",
- "south",
- "southeast",
- "north",
- "in",
- "out",
- "north",
- "west",
- "southwest",
- "northeast",
- "northeast",
- "up",
- "northwest",
- "southeast",
- "northeast",
- "north",
- "east",
- "swim down",
- "swim west",
- "swim south",
- "swim west",
- "swim southwest",
- "swim southeast",
- "swim southwest",
- "swim northeast",
- "swim southeast",
- "se",
- "d",
- "sw",
- "sw",
- "sw",
- "n",
- "ne",
- "nw",
- "Se",
- "sw",
- "w",
- "sw",
- "w",
- "nw",
- "se",
- "e",
- "se",
- "e",
- "se",
- "se"
- }
- function goDirection()
- if trueBalance() then -- function I defined my balance
- send(direction_list[1])
- table.remove(direction_list, 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement