obj
MouseDrag(src_location) step_to(src,src_location,0)
var
color
and
mob
var
color
Login()
switch(input("What color would you like to be today?","*******")in list("White","Black","Gold","Silver"))
if("White")
usr.color = "white"
if("Black")
usr.color = "black"
if ("Gold")
usr.color = "gold"
if ("Silver")
usr.color = "silver"
world << "[usr] is [color]"
i need to make it so you can't move another persons units. i tried using
if(usr.color!=color)
return
but it says i cant put a proc inside another proc. i put that under the MouseDrag. does anyone know where else i should put itt o make it work the way i want, or another piece of code to make this work.
Also, not put usr in proc (except the mouse ones). Ugh.