L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Thread Closed 
 
Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script for STH
Author Message
vdm89 Offline
VIP Member
***

Posts: 76
Joined: Oct 2012
Reputation: 2
Version: 1.4.2.138
Post: #1
Script for STH

Hello ppl , i need 1 Script to use into STH , my problem is , char Pickup MP herb if MpChar thx Wink
01-11-2013 04:35 AM
Find all posts by this user
Mobius Offline
VIP Member
***

Posts: 136
Joined: Jan 2012
Reputation: 40
Version: 1.4.2.135
Post: #2
RE: Script for STH

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;


+2 if i help you :-)
01-11-2013 05:28 AM
Find all posts by this user
Thread Closed 




User(s) browsing this thread: 1 Guest(s)