View Full Version : when x sd/gmp
kaczy456
01-29-2016, 03:58 PM
Hello, has anyone script like this when you have x sd/gmp stops waypoints, targeting, loses the fight and gives logout?? Top .lua , how impossible it how else ??
Thanks.
Jontor
01-29-2016, 09:03 PM
local itemName = "great mana potion"
local itemMin = 100
Module.New("checkSupplies", function()
if (Self.ItemCount(itemName) <= itemMin) then
os.exit()
end
end)
kaczy456
01-30-2016, 05:00 PM
and you can sd ?
Jontor
01-30-2016, 05:30 PM
and you can sd ?
local items = {
["great mana potion"] = 100,
["sudden death rune"] = 50
}
Module.New("checkSupplies", function()
for k, v in pairs(items) do
if (Self.ItemCount(k) <= v) then
os.exit()
end
end
end)
BaileyEasley
08-29-2016, 05:37 PM
Is there a way that when you are low GMP it will just send an alarm?? I've been looking everywhere in forums for that
Elvang
08-29-2016, 05:48 PM
Is there a way that when you are low GMP it will just send an alarm?? I've been looking everywhere in forums for that
Change os.exit() to alert()
BaileyEasley
08-29-2016, 05:54 PM
You are the best!!! Thank you :D
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.