XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 4 of 4

Thread: Alarm at X amount of pots left.

  1. #1
    Lifetime Subscriber
    Join Date
    Sep 2011
    Posts
    171
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Alarm at X amount of pots left.

    As the title says, is it possible to make a script that sets an alarm at X amount of potions left?

  2. #2

    Join Date
    Mar 2012
    Posts
    11
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    looking for the same also

  3. #3
    Super Moderator Infernal Bolt's Avatar
    Join Date
    Dec 2011
    Location
    Skellefteċ, Sweden
    Posts
    2,880
    Mentioned
    217 Post(s)
    Tagged
    2 Thread(s)
    I am warning you, the alarm sound is loud as fuck so be prepared when it goes off or you will shit your pants.

    lua code:

    local potionName = "mana potion"
    local count = 100 -- less then X play alarm

    Module.New('Pot Alarm', function(m)
    if (Self.ItemCount(potionName) < count) then
    alert()
    end
    m:Delay(5000)
    end)

  4. #4
    Senior Member Eion's Avatar
    Join Date
    Dec 2011
    Posts
    558
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Infernal Bolt View Post
    I am warning you, the alarm sound is loud as fuck so be prepared when it goes off or you will shit your pants.

    Lol! I wish someone would have been there to warn me! Very scary alarm... haha

Posting Permissions

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