How do I...
Give the player no control over dinks movements and still let him use weapons/magic?
Stopping him on his tracks should be fairly easy (set_dink_speed(0), or put him inside hardness). If you also want to disable him being able to turn around, though, that would be more complicated.