Results 1 to 3 of 3

Thread: low potions

  1. #1
    Premium User wofezinho's Avatar
    Join Date
    Mar 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    low potions

    low potions alert

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    --[[ INIT START ]]--
    	local POTION = {NAME = "mana potion", COUNT = 20}
    	local ALERT_NAME = "raid.wav"
    --[[ INIT END ]]--
    
    if itemcount(POTION.NAME) < POTION.COUNT then
    	playsound(ALERT_NAME)
    	wait(1000, 2000)
    end

  3. #3
    Premium User wofezinho's Avatar
    Join Date
    Mar 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    trank you man!! its is good

    +rep

Posting Permissions

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