As the title says, is it possible to make a script that sets an alarm at X amount of potions left?
As the title says, is it possible to make a script that sets an alarm at X amount of potions left?
looking for the same also
I am warning you, the alarm sound is loud as fuck so be prepared when it goes off or you will shit your pants.
lua code:
local potionName = "mana potion"
local count = 100 -- less then X play alarm
Module.New('Pot Alarm', function(m)
if (Self.ItemCount(potionName) < count) then
alert()
end
m:Delay(5000)
end)