Results 1 to 7 of 7

Thread: Refiller

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

    Refiller

    hello! can someone help me here? i got stuck on the refiller! I have done so he take out gps for manas but he wont buy manas for me :P he just skip the action :/

    Code:
    say("hi")
    wait(2000)
    while ((itemcount(285) + itemcount(284) + itemcount(283)) >= 0) 
    do
      npcsay("flask")
      wait(1000, 1200)
      npcsay("no")
      wait(1000, 1200)
      npcsay("yes")
      wait(1000, 1200)
    end
    wait(1000, 1200)
    npcsay("trade")
    wait(1000, 1200)
    buyitemsupto(237, 100)
    wait(1000, 1200)

  2. #2
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Code:
    closewindows()
    wait(500, 1000)
    openitem(2854, 'back')
    wait(500, 1000)
    resizewindows() 
    wait(500, 1000)
    openitem(2866, 2854, true)
    wait(500, 1000)
    resizewindows()
    Same here! It cloes the backpacks but ut wont open it again... I see that he try and he left click and then nothing happends

  3. #3
    iBot User
    Join Date
    May 2012
    Location
    Albufeira/Portugal
    Posts
    82
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    11
    Rep Power
    5
    same here but with selling items:
    opentrade()
    wait(200,400)
    sellitemsupto('steel helmet', 100)
    wait(500, 1500)
    sellitemsupto('battle shield', 100)

    Bot only opens the trade and don't even pick item to sell
    Soon, my own store!
    Vocation
    Level
    Script
    Status

  4. #4
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    try to set the items to there items id! Dont know if thats right but test it

  5. #5
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    sell items:
    PHP Code:
    sellitems('[ITEM_NAME]'100
    potion buyer:
    PHP Code:
    say('hi'wait(2000,2500

    while 
    itemcount(285) > or itemcount(284) > 0  or itemcount(283) > 0
    do
    npcsay('vial'wait(1000,1200
    npcsay('yes'wait(1000,1200
    end
    wait
    (2000)
    npcsay('trade')
    wait(2000)
    buyitemsupto('[Mana_Name]', [Buy_Mana], itemcount('[Mana_Name]')) wait(1000)
    buyitemsupto('[Health_Name]', [Buy_Health], itemcount('[Health_Name]')) wait(1000)
    wait(1000,1500
    npcsay('bye'
    bpreopener:
    PHP Code:
    while windowcount() < do
    closewindows()
    wait(10001500)
    openitem('[MainBpName]''back')
    wait(10001500)
    openitem('[PotionBpName]''[MainBpName]'true)
    wait(10001500)
    openitem('[LootBpName]''[MainBpName]'true)
    wait(10001500)
    openitem('[GoldBpName]''[MainBpName]'true)
    wait(10001500)
    resizewindows()
    wait(10001500)
    end 
    works 100%

  6. #6

    Join Date
    Jul 2012
    Posts
    362
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    45
    Rep Power
    5
    Quote Originally Posted by boven View Post
    Code:
    closewindows()
    wait(500, 1000)
    openitem(2854, 'back')
    wait(500, 1000)
    resizewindows() 
    wait(500, 1000)
    openitem(2866, 2854, true)
    wait(500, 1000)
    resizewindows()
    Same here! It cloes the backpacks but ut wont open it again... I see that he try and he left click and then nothing happends
    Remember to put this " " or ' ' in all the ways, it doesn't matter thats item ID or thats item name.

  7. #7
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    It does matter, you dont put quotation marks if its a number (usually), but always put it if it's a string.

Posting Permissions

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