Results 1 to 3 of 3

Thread: Action for the character just come back and attack only if trapped

  1. #1
    Normal User
    Join Date
    Dec 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    Post Action for the character just come back and attack only if trapped

    Does someone know any action or command that starting any waypoint for example it just go back to the city and attack only if trapped?

  2. #2
    Normal User AcidAlchamy's Avatar
    Join Date
    Jul 2012
    Location
    The Labratory
    Posts
    749
    Mentioned
    16 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    180
    Rep Power
    7
    Well, what do you mean?
    If this is what you mean this would work (maybe?)

    PHP Code:
    if istrapped() then gotolabel("YOUR WAYPOINT BACK TO TOWN"end 
    Also; if your being trapped by monsters your not MAINLY hunting, add them to Monster list and make it OnlyIfTrapped: yes.

    Is this what you need or do you want to give me more detail to help you?

    Follow my Activity on Facebook?
    https://www.facebook.com/AcidAlchamyPage
    Download iBot : iBot v2.3.6 - Released
    My Free Scripts :
    ★Free Scripts★ By Acid Alchamy
    Acid Alchamy Updates :
    Updates About Acid Alchamy
    All Scripts by Acid Alchamy :
    All My Posted Scripts
    Latest Thread by Acid Alchamy:
    [Tutorial] Sellers - Avoid Getting Scammed

    +Rep Everyone That Helps You, I'll ALWAYS Return A +Rep.





  3. #3
    Normal User AcidAlchamy's Avatar
    Join Date
    Jul 2012
    Location
    The Labratory
    Posts
    749
    Mentioned
    16 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    180
    Rep Power
    7
    I use this script for when i get trapped and char might be attacking a monster behind the monsters trapping you (causing him to be stuck)


    what script does:
    if it stands still for 10 seconds,
    and there are 3 or more monsters (from the list of monsters in script) then it will cast Exori.
    You can change Exori to any AOE spell suitable to your char.

    PHP Code:
    local monsters = {'Rat','Bug','Spider'}

    if 
    standtime 10000 and maround(1,unpack(monsters)) >= 3  and cancast('exori'then
    wait
    (2500)
    cast('exori')
    wait(2500)
    end 

    Follow my Activity on Facebook?
    https://www.facebook.com/AcidAlchamyPage
    Download iBot : iBot v2.3.6 - Released
    My Free Scripts :
    ★Free Scripts★ By Acid Alchamy
    Acid Alchamy Updates :
    Updates About Acid Alchamy
    All Scripts by Acid Alchamy :
    All My Posted Scripts
    Latest Thread by Acid Alchamy:
    [Tutorial] Sellers - Avoid Getting Scammed

    +Rep Everyone That Helps You, I'll ALWAYS Return A +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
  •