06-07-2012, 18:54 PM
06-07-2012, 19:17 PM
06-07-2012, 20:24 PM
(06-07-2012 19:17 PM)Fox Wrote: [ -> ]Search or die!
Www://forum.l2tower.eu/showthread.php?ti...ing+potion
i see that.. but i do not know how to use the scripts.. i know that i have to write it.. and save it.. but after how i can load it? and where i can find the ITEM IDS?
06-07-2012, 20:28 PM
Search again all the questions are answerd on the forum allready
06-07-2012, 21:41 PM
/xcfg?
06-09-2012, 16:00 PM
use
/xcfg you can sell all what you need in l2tower
if what use script
works for preimum users because it use premium functions
/xcfg you can sell all what you need in l2tower
if what use script
LUA Programming
HpPotId = 1061;
SmallHpPotId = 1060;
GreaterHpPotId = 1062;
HpForGreaterPotions = 15.0;
HpForBigPotions = 25.0;
HpForSmallPotions = 50.0;
--------------------------------------------
repeat
if(GetMe():GotBuff(1217) == false) and (GetMe():GotBuff(92) == false) and (GetMe():GotBuff(4075) == false)then
if (GetMe():GetHpPercent() < HpForSmallPotions) then
if(GetMe():GetHpPercent() > HpForBigPotions) and ((GetQuestManager():GetQuestItemCount(SmallHpPotId) >= 1))then
UseItem(SmallHpPotId);
Sleep(15000);
elseif((GetMe():GetHpPercent() > HpForGreaterPotions)and ((GetQuestManager():GetQuestItemCount(HpPotId) >= 1)))then
UseItem(HpPotId);
Sleep(15000);
elseif(GetQuestManager():GetQuestItemCount(GreaterHpPotId) >= 1)then
UseItem(GreaterHpPotId);
Sleep(15000);
end;
end;
Sleep(500);
end;
Sleep(500);
until GetMe():IsAlikeDeath() == true;
works for preimum users because it use premium functions