PDA

View Full Version : Help.



Mouwuse
01-26-2016, 08:40 AM
How do i work with self actions..
I want to make my own 100% afk script..
All i need right now for the fresh start its depositer.
Something that check your bag and fallow to next label if your capacity below "certain number" and if not back to the label start

Jontor
01-26-2016, 10:44 AM
local minCap = 100

registerEventListener(WALKER_SELECTLABEL, "onLabel")
function onLabel(labelName)
if (labelName == "check") then
Walker.ConditionalGoto(Self.Cap() < minCap, "leave", "start")
end
end