if("Edit Object's Direction")
o.dir = input("What would you like the [o]'s direction to be?",o.dir) in list("North","South","East","West","Northeast","Northwest","Southwest","Southeast")
if("North")
o.dir = NORTH
if("South")
o.dir = SOUTH
if("East")
o.dir = EAST
if("West")
o.dir = WEST
if("Northeast")
o.dir = NORTHEAST
if("Northwest")
o.dir = NORTHWEST
if("Southwest")
o.dir = SOUTHWEST
if("Southeast")
o.dir = SOUTHEAST
src << "<font color = green><b>[o]'s direction has been changed!"
Problem description:
It's suppose to change an obj's direction but all it does is change East.Some help please?