TFS version? I will post for 1.3 for now.
You should add this method if it doesn't exist in your TFS
Add playerOnChangeZone TFS 1.3. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
then on
data\events
add/enable this.
XML:
<event class="Player" method="onChangeZone" enabled="1" />
and on
data\events\scripts\player.lua
add this
Lua:
function Player:onChangeZone(zone)
local slot = {10}
if zone == ZONE_PROTECTION then
local item = player:getSlotItem(slot)
if item then
item:remove()
end
end
end