Position Amp Affect

if isplayer(ch) then
if ch.position == POS_FIGHTING then send(ch,"Not while you are fighting!") return end
if ch.position == POS_SLEEPING then send(ch,"You dream about home.") return end
if affected(ch,"cursed") then send(ch,"You are forsaken.") return end
if affected(ch,"webbed") then send(ch,"You are entangled in an invisible web!") return end