Lineage 2 Tower Forum

Full Version: Script for STH
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello ppl , i need 1 Script to use into STH , my problem is , char Pickup MP herb if MpChar thx Wink
Search before create a new thread

This is for premium users

    LUA Programming
repeat
if (GetMe():GetMpPercent() < 50) then
 SCONFIG.targeting.option = L2TConfig.ETargetingType.TT_OFF;
 SCONFIG.pickup.userPickup.mode = L2TConfig.EPickupMode.PICKUP_BEFORE;
 end; 
 if (GetMe():GetMpPercent() > 85) then
 SCONFIG.pickup.userPickup.mode = L2TConfig.EPickupMode.PICKUP_OFFLINE;
 SCONFIG.targeting.option = L2TConfig.ETargetingType.TT_RANGE_FROM_POINT;
 end;
 until false;



this for free users
    LUA Programming
repeat
if (GetMe():GetMpPercent() < 50) then
 Command("/target YOURCHARNAME");
 Sleep(500);
 repeat
 Command("/pickup");
 Sleep(500);
 until (GetMe():GetMpPercent() > 85);
 ClearTargets();
CancelTarget(false);
CancelTarget(false);
CancelTarget(false); 
 end;
 until false;

Reference URL's