I need script When have X Mana Potions EXIT TIBIA(QUIT TIBIA)
and When PLAYER ON SCREEN EXIT TIBIA
how can help me please? :
I need script When have X Mana Potions EXIT TIBIA(QUIT TIBIA)
and When PLAYER ON SCREEN EXIT TIBIA
how can help me please? :
Put it in your persistents:
Was it useful? Then REP+ and help me growing!Code:init start local potion = 'mana potion' -- name of the potion local minPot = 0 -- minimum amount of potions to logout init end auto(200) if paround() > 0 or itemcount(itemid(potion) <= minPot then logout() end
You should rather use closeclient()