Results 1 to 2 of 2

Thread: Buying as many spears as the cap allow

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Buying as many spears as the cap allow

    Is there anyone that can make a script that buys as many spears/royal spears that the cap allows minus 30 or something? Know there was one for elfbot but havent thought about it until now.

    would be nice for low lvl pally scripts.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Code:
    local SPEARS = math.max((cap/20)-2)
    buyitems("spear",SPEARS)
    This will buy as many spears as possible, minus 2(leaves 40 cap left).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •