function onThink(cid, interval)
if getPlayerVocation(cid) == 1 and player:getLevel() == 8 then
for i = 1, 10 do
local eq_slot = player:getSlotItem(i)
if eq_slot then
item:remove() -- not sure if this command will remove the item
end
end
local config = {
[1] = {
--equipment spellbook, wand of vortex, scale armor, soldier helmet, brass legs, leather boots, scarf
items = {{2175, 1}, {2190, 1}, {2483, 1}, {2481, 1}, {2478, 1}, {2643, 1}, {2661, 1}},
--container rope, shovel, fire mushroom
container = {{2120, 1}, {2554, 1}, {2795, 10}}
},
[0] = {
--equipment spellbook, wand of vortex, scale armor, soldier helmet, brass legs, leather boots, scarf
items = {{2512, 1}, {2398, 1}, {2467, 1}, {2461, 1}, {2649, 1}, {2643, 1}, {2661, 1}},
--container rope, shovel, fire mushroom
container = {{2120, 1}, {2554, 1}, {2789, 10}}
},
[2] = {
--equipment spellbook, snakebite rod, scale armor, soldier helmet, brass legs, leather boots, scarf
items = {{2175, 1}, {2190, 1}, {2483, 1}, {2481, 1}, {2478, 1}, {2643, 1}, {2661, 1}},
--container rope, shovel, fire mushroom
container = {{2120, 1}, {2554, 1}, {2795, 10}}
},
[3] = {
--equipment copper shield, 5 spear, scale armor, soldier helmet, brass legs, leather boots, scarf
items = {{2530, 1}, {2389, 5}, {2483, 1}, {2481, 1}, {2478, 1}, {2643, 1}, {2661, 1}},
--container rope, shovel, fire mushroom
container = {{2120, 1}, {2554, 1}, {2795, 10}}
},
[4] = {
--equipment copper shield, orcish axe, scale armor, soldier helmet, brass legs, leather boots, scarf
items = {{2530, 1}, {2428, 1}, {2483, 1}, {2481, 1}, {2478, 1}, {2643, 1}, {2661, 1}},
--container rope, shovel, fire mushroom, scimitar, battle hammer
container = {{2120, 1}, {2554, 1}, {2795, 10}, {2419, 1}, {2417, 1}}
}
}