XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 5 of 5

Thread: Food with specific id...

  1. #1

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Food with specific id...

    Hi! i need script that will try to eat item ID: 10432 every 30sec.

    Thanks in advance.

    (PS: Yes, i tried to search xenobot eat food script, but i couldn't find.)

  2. #2

    Join Date
    Jan 2014
    Posts
    183
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by [email protected] View Post
    Hi! i need script that will try to eat item ID: 10432 every 30sec.

    Thanks in advance.

    (PS: Yes, i tried to search xenobot eat food script, but i couldn't find.)
    lol just check function to use item with id.
    Self.UseItem(10432)
    and make some delay function
    wait(30000)
    thats all man, its not hard to find but u are just lazy

  3. #3

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by kamilqq View Post
    lol just check function to use item with id.
    Self.UseItem(10432)
    and make some delay function
    wait(30000)
    thats all man, its not hard to find but u are just lazy
    I thought that it will be something more than 2 lines.

    'cause as i see equip amulet/ring from Xbp is around 20 lines.

    btw. is here something like

    if itemIDonposx == IDID, PPPP, OOO, SSS, XYZ > then useItemIDonPOSX?
    Last edited by [email protected]; 12-07-2015 at 02:19 PM.

  4. #4

    Join Date
    Sep 2015
    Posts
    38
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    lua code:
    Module.New("Eat Food", function(Module)
    if Self.ItemCount(10432) > 0 then
    Self.UseItem(10432)
    end
    Module:Delay(30000)
    end)


    Hope it works and helps you out.

  5. #5

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Foulwerp View Post
    lua code:
    Module.New("Eat Food", function(Module)
    if Self.ItemCount(10432) > 0 then
    Self.UseItem(10432)
    end
    Module:Delay(30000)
    end)


    Hope it works and helps you out.
    Thanks :-)

Posting Permissions

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