Results 1 to 3 of 3

Thread: Exori hur

  1. #1
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3

    Exori hur

    i need an action like:

    if mana = X and is targeting
    say 'exori hur'

  2. #2
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    i get it:
    local creaturesToHit = {"MONSTERS"}
    local minimumAround = 1

    if ((maround(4, unpack(creaturesToHit)) >= minimumAround)) and mppc >= %da mana
    then
    cast("exori hur")
    wait(1000)
    end

  3. #3
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by vital900 View Post
    i need an action like:

    if mana = X and is targeting
    say 'exori hur'
    local creaturenames = {'Dragon', 'Dragon Lord', 'Demon', 'Rat'}
    local manapc = 20 --Will cast with higher than this mana

    for i=1,[URL=http://www.tibiaibot.com/forum/usertag.php?do=list&action=hash&hash=creaturenames]#creaturenames[/URL] do
    if target.name == creaturenames[i] and mppc >= manapc and cancast('exori hur') then
    cast('exori hur')
    updateworld()
    end
    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
  •