[Free] Pickup spears around you when low count FOR TRAINING - Printable Version +- OTBots Forums (https://forums.otbots.com) +-- Forum: Mastercores OTBot (https://forums.otbots.com/Forum-Mastercores-OTBot--25) +--- Forum: Scripts (https://forums.otbots.com/Forum-Scripts--30) +---- Forum: LUA Scripts (https://forums.otbots.com/Forum-LUA-Scripts--31) +---- Thread: [Free] Pickup spears around you when low count FOR TRAINING (/Thread-FREE-Pickup-spears-around-you-when-low-count-FOR-TRAINING--1910) |
Pickup spears around you when low count FOR TRAINING - Arkilys - 10-06-2021 Hello. This script will pickup spears AROUND YOU when you have low amount on your hand. This script should be used on TRAIN, not hunting. Using default setttings, it will sort "MinRange" between the range you setup on this field. Once you have lower amount than this random value, it will sort a random value between "MaxRange" that you setup then pickup spears around you until you have spears count equal to MaxRange. Explaining again: 1. Let's say that you have 2 spears in your hand. 2. It will sort a value between 1 and 5 to "MinRange", let's say 3. 3. It will sort a value between 20 and 25 to "MaxRange", let's say 21. When you have 3 or less spears in your hand, it will pickup an amount of spears that you will have a maximum of 21 spears in your hand, so it would pickup 19 spears. Because you have 2 spears in your hand + 19 spears = 21 spears, which is the sorted MaxRange. Then it will sort a new "MinRange". That way, it will always sort random values for start picking up and the max amount on your hand to looks more legit. local CONFIG = { |