Results 1 to 3 of 3

Thread: Dropping an item if have too many??

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

    Question Dropping an item if have too many??

    what would be an action where say you are doing hive tasker and every time you get a strange powder for antenna blinding, it doesnt drop it, and you only need 1... *(it gives you a new one every time even if you have one)* so what would be a quick action script for it to drop them if more than 1?

    item id is 4838 - strange powder

    thanks

  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
    Lua Code:
    dropitem = 4838
    if itemcount(dropitem ) > 1 then
    moveitems(dropitem , "all", ground(posx,posy,posz), (itemcount(dropitem )-1))
    wait(700,800)
    updateworld()
    end

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by shanp View Post
    Lua Code:
    dropitem = 4838
    if itemcount(dropitem ) > 1 then
    moveitems(dropitem , "all", ground(posx,posy,posz), (itemcount(dropitem )-1))
    wait(700,800)
    updateworld()
    end
    Ew....


    Here is the action I use in my Tasker script from my Paid Scripts section:
    Lua Code:
     
    local toDrop = 3 -- Amount to keep. It is good to keep 2 or 3, just in case you lose one
     
    if pzone and itemcount(13974) > toDrop then 
        pausewalking(10000)
        moveitems(13974, 'ground')
        wait(3000,4000)
        pausewalking(100)
    end


    The "strange powder" you get for the Antenna blinding quest is ID 13974, I don't know where you got 4838 from
    Last edited by pink_panther; 03-17-2014 at 11:36 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
  •