var
picked = pick(playersb)
world << "[picked] got picked to be hit by the ball haha!!"
picked.icon_state="dead"
Problem description:
Dodgeball.dm:109:error:picked.icon_state:undefined var
I don't know why it reconize picked as a variable in the last line. It does in the one above it though.