Results 1 to 3 of 3

Thread: Rune maker action not working

  1. #1
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question Rune maker action not working

    Hi,

    So I have attempted to add a rune maker and mana potion pick-up into a script, and for some reason it is just not working.

    Code:
    local flaskcount = (itemcount(285) + itemcount(284) + itemcount(283)
    local avacount = itemcount("avalanche runes")
    local mpcount = itemcount("mana potion")
    local spell = "adori mas frigo"
    
    if soul >=3
    moveitems("blank runes", ground(33188, 32813, 7), MainBP, 1)
    wait (500,1000)
    cast(spell)
    moveitems("empty potion flasks", mainBp, ground(33189,32814,7), flaskcount)
    wait (500,1000)
    moveitems("avalanche runes", mainBp, ground(33188,32814,7), avacount)
    wait (500,1000)
    end
    Last edited by Judoas; 10-14-2013 at 07:15 AM.

  2. #2
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    anyone know why this little action of mine is not working?

  3. #3
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    1. You forgot to close the first variable (missin a ) on the end)
    2. if asks for then, so it is missing one then after soul >= 3

    Code:
    local flaskcount = (itemcount(285) + itemcount(284) + itemcount(283))
    local avacount = itemcount("avalanche runes")
    local mpcount = itemcount("mana potion")
    local spell = "adori mas frigo"
    
    if soul >= 3 then
    moveitems("blank runes", ground(33188, 32813, 7), MainBP, 1)
    wait (500,1000)
    cast(spell)
    moveitems("empty potion flasks", mainBp, ground(33189,32814,7), flaskcount)
    wait (500,1000)
    moveitems("avalanche runes", mainBp, ground(33188,32814,7), avacount)
    wait (500,1000)
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

Posting Permissions

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