Results 1 to 2 of 2

Thread: Alarm if "x" mp

  1. #1
    iBot User
    Join Date
    Jun 2014
    Posts
    20
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    10
    Rep Power
    3

    Alarm if "x" mp

    hello, again I need a help with an action... the problem is that I made a script that isn't 100% afk, its only hunt at the place
    .
    then I need the action to set alarm if "x" mp... because I have to do some things of the college and I cant check all time...

    ex:

    set alarm if mp<=400


    can someone help me?



    .

    ps: sorry for bad english

    thx

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    Quote Originally Posted by issaraujo View Post
    hello, again I need a help with an action... the problem is that I made a script that isn't 100% afk, its only hunt at the place
    .
    then I need the action to set alarm if "x" mp... because I have to do some things of the college and I cant check all time...

    ex:

    set alarm if mp<=400


    can someone help me?



    .

    ps: sorry for bad english

    thx
    Lua Code:
    local ManaToAlert = 10
    local ManaName = "Mana Potion"
    if itemcount(ManaName) <= ManaToAlert then
    playsound("alert.wav")
    end

Posting Permissions

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