Kvm makro 2013

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Ginyi
Noob
Noob
Posts: 1
Joined: 05 Dec 2013, 11:00
Noob?: No

Kvm makro 2013

#1 Post by Ginyi »

Code: Select all

# Macro by Revok 
# All changes to full functionality of the bot by Raptor 
 
automacro reload { 
location bat_room 
console / You are sitting / 
exclusive 1 
call { 
macros.txt reload the 
conf autoTalkCont 0 
[ 
log Macros ** autoTalkCont reloaded and set to 0 ** 
] 
​​release reload 
} 
} 
 
{automacro OfereceBuffs 
location bat_c01 
console / You are sitting / 
exclusive 1 
run-once 1 
call { 
pause @ rand (2,3) 
c @ random ("Heal and buffo just ask", "Whosoever tb few buffs, just ask "," qm want buffs and heals just talk "," want buffs and heals just let "," want buffs and healing, let me know \ o "," qm want buffs, just talk \ o "" want buffs and heals are talking beasts \ o / "," laughs want buffs warn ") 
release reload 
} 
} 
 
{Cure automacro 
location bat_c01 
pubm 
1 
call { 
pause @ rand (2,3) 
of the stand 
sp $ 28. lastpub 
pause 1 
sp $ 28. lastpub 
pause 1 
sp $ 28. lastpub 
pause 1 
sp $ 28. lastpub 
pause 2 
sp 34 "$ . lastpub " 
pause 1 
sp 29 "$. lastpub" 
[ 
log healed and buffed ** Player ** 
] 
pause 2 
release Cure 
} 
} 
 
automacro foradoMapa { 
location not prontera 
location not bat_room 
location not bat_c01 
run-once 1 
call { 
[ 
log A ** motherfucker gave me portal somewhere else ** 
] 
the stand 
respawn 
the move prontera 
foradoMapa release 
} 
} 
 
automacro Join_BG-AnyCity { 
    eval $ field && $ field-> isCity () 
    exclusive 1 
    call { 
the moves bat_room     
release all 
 
} 
} 
 
{automacro army_is_Unset 
    exclusive 1 
    var army unset 
    call { 
        $ army = @ random ("Croix", "Guillaume") 
        log Starting at $ army! 
    } 
} 
 
{automacro mainROOM_pause 
    hook in_game 
    location bat_room 
    priority 50 
    exclusive 1 
    call { 
        pause 1 
    } 
} 
 
{automacro mainROOM_route_to_NPC_Croix 
    location bat_room 
    location not bat_room 164 131 175 124 
    location not bat_room 164 175 167 170 
    location not bat_room 166 211 173 204 
    location not bat_room 166 227 173 220 
    == var army Croix 
    exclusive 1 
    run-once 0 # 
    {call 
        the conf route_randomWalk 0 
        of moves bat_room @ rand (164.167) @ rand (124, 129) 
        pause 0.5 
    } 
} 
 
{automacro mainROOM_route_to_NPC_Guillaume 
    location bat_room 
    location not bat_room 164 131 175 124 
    location not bat_room 164 175 167 170 
    location not bat_room 166 211 173 204 
    location not bat_room 166 227 173 220 
    exclusive 1 
    == var army Guillaume 
    call { 
        0 conf route_randomWalk 
        the move bat_room @ rand (164.167) @ rand (175, 170) 
        pause 0.5 
    } 
} 
 
{automacro miniROOM_NPC_Access_Guillaume 
    location bat_room 164 175 167 170 
    exclusive 1 
    run- once 0 
    == var army Guillaume 
    call { 
        pause 0.2 
        of talknpc 164 178 c r0 c 
        pause 2 
        stop 
    } 
} 
 
{automacro miniROOM_NPC_Access_Croix 
    location bat_room 164 131 175 124 
    exclusive 1 
    run-once 0 
    == var army Croix 
    call { 
        pause 0.2 
        talknpc of 164 121 c r0 c 
        pause 2 
        stop 
    } 
} 
 
{automacro miniROOM_get_my_cell_Guillaume 
    location bat_room 169 223 
    exclusive 1 
    run-once 0 
    == var army Guillaume 
    {call 
        the move @ rand (166.173) @ rand (224.227) 
        pause 0.5 
    } 
} 
 
{automacro miniROOM_get_my_cell_Croix 
    bat_room location 169 207 
    exclusive 1 
    run-once 0 
    var army Croix == 
    {call 
        the move @ rand (166.173) @ rand (204.208) 
        pause 0.5 
    } 
} 
 
{automacro miniROOM_join_chat 
    macro_delay 0.5 
    0.3 timeout 
    bat_room location 166 211 173 204, 166 227 173 224 bat_room 
    location not bat_room 169 207 
    0 excluding 
    run-once 1 
    call { 
        join the chat 0 
        release miniROOM_join_chat 
    } 
} 
 
automacro miniROOM_join_chat_LOCK { 
    console / You are already in a room. / i 
    priority 5 
    exclusive 1 
    call { 
        $ chatLocked = 1 
        log I entered the room! 
        pause 2 
        c @ random ("qm want it inside buffs are asking, tb cure", "qm want buffs and heals are asking for it inside", "qm q I want buffe or cures and are asking for it in kvm", "who want buffs are asking for it inside "," qm want healing and buffs warns her in. "" qm want, you know, heal and buffo it in. ") 
        miniROOM_join_chat lock 
    } 
} 
 
automacro miniROOM_join_chat_UNLOCK { 
    var == 1 chatLocked 
    mapchange any 
    call { 
        $ chatLocked = 0 
        miniROOM_join_chat release 
    } 
} 
 
automacro miniROOM_join_chat_UNLOCK_ingame { 
    var == 1 chatLocked 
    hook in_game 
    call { 
        $ = 0 chatLocked 
        release miniROOM_join_chat 
    } 
} 
 
{automacro insideROOM_get_points 
    location bat_c01 50 131 56 125, 144 57 149 52 bat_c01 
    console / The Official give you points in the next 30 sec. / i 
    4 priority 
    run-once 1 
    macro_delay 1 
    call { 
        [ 
        log talk 9 
        ] 
        9 of talk 
        [ 
        talk log 10 
        ] 
        of 10 talk 
        [ 
        talk log 11 
        ] 
        of 11 talk 
        [ 
        talk log 12 
        ] 
        of 12 talk 
        [ 
        talk log 13 
        ] 
        of the talk 13 
        [ 
        log 14 talk 
        ] 
        talk of 14 
        log 9 talk 
        the talk 9 
        log 10 talk 
        the talk 10 
        log 11 talk 
        the talk 11 
        log 12 talk 
        the talk 12 
        log 13 talk 
        the talk 13 
        log 14 talk 
        the talk 14         
    release insideROOM_get_points 
    } 
} 
 
{automacro insideROOM_battle_results_lost 
    exclusive 1 
    priority 5 
    console / You gained points for the defeat \:. 1 / i 
    call { 
        $ points = @ eval (@ config (kvmPoints) + 1) 
        log points $ 
        eval configModify (kvmPoints, $ points ) 
        $ = $ oldarmy army 
        if ($ == army Croix) { 
                $ army = Croix 
        } elsif ($ army == Guillaume) { 
                $ army = Guillaume 
        } 
        We lost $ oldarmy log. \ $ nAgora Us army. \ nPontos session :. [@ config (kvmPoints)] 
        release miniROOM_join_chat 
        release insideROOM_get_points 
    } 
} 
 
{automacro insideROOM_battle_results_draw 
    exclusive 1 
    priority 5 
    console / You gained points for a draw \:. 1 / i 
    call { 
        $ points = @ eval (@ config (kvmPoints) + 1 ) 
        $ log points 
        configModify eval (kvmPoints, $ points) 
        empathize log in army $ \ nPontos session.: [@ config (kvmPoints)] 
        release miniROOM_join_chat 
        release insideROOM_get_points 
        
    } 
} 
 
{automacro insideROOM_battle_results_victory 
    exclusive 1 
    priority 5 
    console / You gained points by win \:. 5 / i 
    call { 
        $ points = @ eval (@ config (kvmPoints) + 5) 
        log points $ 
        eval configModify (kvmPoints, $ points) 
        won the $ army log \ nPontos session: [@ config (kvmPoints )]. 
        miniROOM_join_chat release 
        release insideROOM_get_points 
        
    } 
} 
 
{automacro insideROOM_fakeAI_walking 
    location not bat_c01 144 57 149 52 
    location not bat_c01 50 131 56 125 
    location bat_c01 
    exclusive 1 
    run-once 0 
    timeout 10 
    call { 
        0 conf route_randomWalk 
        the move @ rand (70, 76 ) @ rand (114, 120) 
    } 
} 
 
{automacro insideROOM_fakeAI_squareAttack 
    location bat_c01 70 120 76 114 
    exclusive 1 
    run-once 0 
    timeout 5 
    priority 1 
    call { 
        @ kill the rand (0, 6) 
    } 
}

source= openkore-brasil