That is easy..
local c = {
campFrom = {x = 32310, y = 31891, z = 7},
campTo = {x = 32346, y = 31967, z = 7},
newPos = {x = 32369, y = 32241, z = 7}
}
function onStatsChange(cid, attacker, type, combat, value)
if(isInRange(getThingPos(cid), c.campFrom, c.campTo)) then
if (type ==...