Results 1 to 5 of 5

Thread: dropitems torch

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    17
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    4

    dropitems torch

    Hello

    Just need simple code to drop torch my bot is keeping.
    I tried :

    PHP Code:
    wait(30004000)
    dropitems(2920)
    wait(30004000
    but it isn't working.

    Ty

  2. #2
    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
    Confirm the Item ID is correct

    Torches ID changes depending on how much light is left.

  3. #3
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Like Phanter sad confirm ID here it's

    [2920] Torch (biggest,off)
    [2921] Torch (biggest,on)
    [2922] Torch (medium,off)
    [2923] Torch (medium,on)
    [2924] Torch (small,off)
    [2925] Torch (small,on)
    [2926] Torch (small,out of use)

    Enjoy

  4. #4
    iBot User
    Join Date
    Dec 2012
    Posts
    17
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    4
    ty for your help

    now I want to drop only some amount of items I hold. Dropitems drop all items, so I tried this script :

    PHP Code:
    if cap 270 then
        moveitems
    ('cheese''bag'ground1)
    end 
    but it doesn't work, do you see any mistakes?

  5. #5
    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
    Check your debug log

    or try
    moveitems("Cheese", "Bag", ground(posx, posy, posz), 1)
    Last edited by pink_panther; 05-27-2014 at 09:07 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
  •