Guest User

Untitled

a guest
Oct 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. --showas Checking if need to go deposit...
  2.  
  3. local LEAVE_QUARTER = false
  4.  
  5. if (BuyAmmo and itemcount(ammoType) < ammoLeave) then
  6.     LEAVE_QUARTER = true
  7. elseif ($cap < capLeave) then
  8.     LEAVE_QUARTER = true
  9. elseif (itemcount(potionType) < potionLeave) then
  10.     LEAVE_QUARTER = true
  11. elseif (doTask and monsterscount >= requiredamount) then
  12.     LEAVE_QUARTER = true
  13. end
  14.  
  15. if (LEAVE_QUARTER) then
  16.     gotolabel('LeaveQuarter')
  17. else
  18.     gotolabel('Hunt')
  19. end
Add Comment
Please, Sign In to add comment