Results 1 to 2 of 2

Thread: what is wrong action cavebot sell lot

  1. #1
    iBot User
    Join Date
    Sep 2012
    Posts
    20
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    what is wrong action cavebot sell lot

    i have script
    reachcreature ('kik')
    local ITEMS = {"halberd", "double axe", "battle shield", "battle axe", "battle hammer",100} -- Items to sell, add more if you want.

    opentrade() wait(2000)
    sellitems('battle shield',100)
    wait(200)
    sellitems('halberd',100)
    wait(200)
    sellitems('double axe',100)
    wait(200)
    sellitems('battle axe',100)
    wait(200)
    sellitems('battle hammer',100)
    for i = 0, #ITEMS do
    sellitemsupto(ITEMS[i], 100) wait(200,300)
    end

    and have debug in this
    21:59 : LUAoAction:Cavebot: - LuaInterface.LuaScriptException: ...nts and Settings\mk\Pulpit\iBot\library\Standard.lua:454: A .NET exception occured in user-code

    what is wrong??

  2. #2
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    i=1 instead of i=0

Posting Permissions

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