Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Oct 2016
    Posts
    45
    Reputation
    17
    Rep Power
    0

    Need help with these scripts.

    Still having trouble with it I guess. Worked once, not sure why it's failing.

    PHP Code:
    -- We are buying Rods

    if($level >= 13 and $level 19)then
     
    if(itemcount('Moonlight Rod') >= and windowcount()>=4)then
      gotolabel
    ('DepositGold','Refill')
     elseif(
    getuseroption('moonlightrod') and itemcount('Moonlight Rod') == and windowcount()>=4)then
        openmarket
    ()
            
    waitping()
        if(
    $balance >=getuseroption('moonlightrodprice'))then
            buyitemsmarket
    ('Moonlight Rod'getuseroption('moonlightrodprice'), 1)
            
    closemarket()
            
    waitping()
            
    openitem(12902)
            
    waitping()
            
    moveitems('Moonlight Rod'mainbp)
            
    waitping()
            
    moveitems(3066'rhand'mainbp)
            
    waitping()
            
    equipitem(3070'rhand')
            
    waitping()
            
    increasemoneyspent(getuseroption('moonlightrodprice'))
        
    end
    end
    elseif($level >= 19 and $level 22)then
     
    if(itemcount('Necrotic Rod') >= and windowcount()>=4)then
      gotolabel
    ('DepositGold','Refill')
     elseif(
    getuseroption('necroticrod') and itemcount('Necrotic Rod') == and windowcount()>=4)then
        openmarket
    ()
            
    waitping()
        if(
    $balance >=getuseroption('necroticrodprice'))then
            buyitemsmarket
    ('Necrotic Rod'getuseroption('necroticrodprice'), 1)
            
    closemarket()
            
    waitping()
            
    openitem(12902)
            
    waitping()
            
    moveitems('Necrotic Rod'mainbp)
            
    waitping()
            
    moveitems(3070'rhand'mainbp
            
    waitping()
            
    equipitem(3069'rhand')
            
    waitping()
            
    increasemoneyspent(getuseroption('necroticrodprice'))
        
    end
    end
    elseif($level >= 22 and $level 26)then
     
    if(itemcount('Northwind Rod') >= and windowcount()>=4)then
      gotolabel
    ('DepositGold','Refill')
     elseif(
    getuseroption('northwindrod') and itemcount('Northwind Rod') == and windowcount()>=4)then
        openmarket
    ()
            
    waitping()
        if(
    $balance >=getuseroption('northwindrodprice'))then
            buyitemsmarket
    ('Northwind Rod'getuseroption('northwindrodprice'), 1)
            
    closemarket()
            
    waitping()
            
    openitem(12902)
            
    waitping()
            
    moveitems('Northwind Rod'mainbp)
            
    waitping()
            
    moveitems(3069'rhand'mainbp
            
    waitping()
            
    equipitem(8083'rhand')
            
    waitping()
            
    increasemoneyspent(getuseroption('northwindrodprice'))
        
    end
    end
    elseif($level >= 26 and $level 33)then
     
    if(itemcount('Terra Rod') >= and windowcount()>=4)then
      gotolabel
    ('DepositGold','Refill')
     elseif(
    getuseroption('terrarod') and itemcount('Terra Rod') == and windowcount()>=4)then
        openmarket
    ()
            
    waitping()
        if(
    $balance >=getuseroption('terrarodprice'))then
            buyitemsmarket
    ('Terra Rod'getuseroption('terrarodprice'), 1)
            
    closemarket()
            
    waitping()
            
    openitem(12902)
            
    waitping()
            
    moveitems('Terra Rod'mainbp)
            
    waitping()
            
    moveitems(8083'rhand'mainbp
            
    waitping()
            
    equipitem(3065'rhand')
            
    waitping()
            
    increasemoneyspent(getuseroption('terrarodprice'))
        
    end
    end
    elseif($level >= 33)then
     
    if(itemcount('Hailstorm Rod') >= and windowcount()>=4)then
      gotolabel
    ('Start','DepositGold')
     elseif(
    getuseroption('hailstormrod') and itemcount('Hailstorm Rod') == and windowcount()>=4)then
        openmarket
    ()
            
    waitping()
        if(
    $balance >=getuseroption('hailstormrodprice'))then
            buyitemsmarket
    ('Hailstorm Rod'getuseroption('hailstormrodprice'), 1)
            
    closemarket()
            
    waitping()
            
    openitem(12902)
            
    waitping()
            
    moveitems('Hailstorm Rod'mainbp)
            
    waitping()
            
    moveitems(3065'rhand'mainbp
            
    waitping()
            
    moveitems(8083'rhand'mainbp
            
    waitping()
            
    equipitem(3067'rhand')
            
    waitping()
            
    increasemoneyspent(getuseroption('hailstormrodprice'))
            
    end
        end
    end 
    Last edited by lyagami; 12-11-2016 at 12:34 PM.

  2. #2
    Free User
    Join Date
    Oct 2016
    Posts
    45
    Reputation
    17
    Rep Power
    0
    Figured out a work around.
    Last edited by lyagami; 12-12-2016 at 12:54 PM.

 

 

Posting Permissions

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