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

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pick up herb
Author Message
bogdanel Offline
Expired VIP Member
**

Posts: 89
Joined: Jul 2013
Reputation: 1
Version: 1.4.2.138
Post: #9
RE: pick up herb

(03-31-2014 22:24 PM)TheQQmaster Wrote:  forgot to add sleep Big Grin


    LUA Programming
SCONFIG = L2TConfig.GetConfig(); -- Getting config
 
potPickup = false; -- checking, to not spam all time settings
ShowToClient("Pickup","ON");
 
repeat -- repeat
	if (GetMe():GetMpPercent() < 50) then --getting mp in percent, doing if less then 50
 if potPickup == false then
 ShowToClient("Pickup","Less MP than 50%");
 
 SCONFIG.pickup.userPickup.pickupRange = 300; -- range
 SCONFIG.pickup.userPickup.mode = L2TConfig.EPickupMode.PICKUP_BEFORE; -- picking before
 
 
 potPickup = true; -- we enabled pickup
 
Sleep(1*1000);
 end;
 
	elseif (GetMe():GetMpPercent() > 50) then -- more than 50% mp
 if potPickup then
 ShowToClient("Pickup","More MP than 50%");
 
 SCONFIG.pickup.userPickup.mode = L2TConfig.EPickupMode.PICKUP_OFFLINE; -- disabling pickup
 potPickup = false; -- to not spam disabling
Sleep(1*1000);
 
 end;
	end;
Sleep(4*1000);
 
until false; -- 4 ever



worked for me btw Tongue tested Tongue
this should be best pick up script for nuker untill lvl 85.thx dudeSmile
04-04-2014 04:20 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
pick up herb - bogdanel - 03-30-2014, 11:47 AM
RE: pick up herb - TheQQmaster - 03-30-2014, 14:39 PM
RE: pick up herb - CoolAsIce - 03-30-2014, 14:57 PM
RE: pick up herb - bogdanel - 03-30-2014, 15:09 PM
RE: pick up herb - knutoz - 03-30-2014, 15:20 PM
RE: pick up herb - TheQQmaster - 03-31-2014, 02:48 AM
RE: pick up herb - bogdanel - 03-31-2014, 15:53 PM
RE: pick up herb - TheQQmaster - 03-31-2014, 22:24 PM
RE: pick up herb - bogdanel - 04-04-2014 04:20 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  a weird pick up question.... soul2eat 3 3,404 01-07-2015 13:48 PM
Last Post: knutoz
  pick up still not working Cttdav 12 8,104 08-01-2014 20:18 PM
Last Post: capucine
  pick plugin/script Arabaico 3 6,706 06-24-2014 12:20 PM
Last Post: BabyGotBoobs
  Bot Wont pick up adena dfeser 1 3,504 06-12-2014 23:20 PM
Last Post: Fox
Lightbulb About pick up Bans My8os 4 4,661 12-22-2013 19:54 PM
Last Post: capucine
  official - Problem with pick up after update mardukx 11 9,181 11-28-2013 21:39 PM
Last Post: TheQQmaster
  Pick up toon Cttdav 2 2,994 10-04-2013 09:49 AM
Last Post: 13dk13
  PICK UP stamos1991 1 2,475 09-21-2013 09:52 AM
Last Post: thewizzie
  Pick up configuration warhawk 2 4,171 07-03-2013 08:35 AM
Last Post: natherlog
  Wynn summoner - how to pick up only mana herb Zigardo 2 5,516 06-05-2013 10:48 AM
Last Post: Zigardo



User(s) browsing this thread: