Results 1 to 6 of 6

Thread: Action with While

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Action with While

    Is it correct?

    While (target.hppc > 1 ) do

    cast('exori vis')

    end

    Because it dont work here ;x

    I want to kill the target

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Why not use targeting?!


    Tell me what you want and I will make it for u!

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    You can use many "settings" on target dude.

    Ex.: Setting0 - If monster 50-100% HP, use "strong energy strike"
    Setting1 - If monster 0-50% HP, use "energy strike"

    Search more utilities and functions about ibot in tutorials.

  4. #4
    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
    and into action to kill u can simply paste:
    PHP Code:
    if target.name == ("MONSTER_NAME") and cancast("SPELL_NAME"then
         cast
    ("SPELL_NAME")
    end 

  5. #5
    Normal User
    Join Date
    Jul 2012
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Its a script i made to combo leader... is working perfect... but i want to sd until the target die ^^

  6. #6

    Join Date
    Jun 2012
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5
    Quote Originally Posted by BUgWT View Post
    Why not use targeting?!


    Tell me what you want and I will make it for u!
    Could you perharps help me with a problem I often experience?
    When botting my mage with exori gran vis/exori vis I use targeting and it doesn't use the spells after cooldown. Sometimes it takes like 10 seconds before it casts the next spell. It's often after it heals or something it uses the spell then just wanding again untill it heals again. It ruins the exp alot I have check cooldown checked.

    Yours Juden

Posting Permissions

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