Wednesday, February 8, 2012

Buffer Bot Macro with Chatroom and Public Message

automacro chatroom { (this is for chatroom)
console /Other players are not allowed to view your Equipment./i
exclusive 1
delay 0.5
call {

$chatroomname = Flag - AGI &  (Chatroom Name)
do chat create "$chatroomname"
do look 5
}
}

automacro buffer {
sp > 5%
console /\[dist=(.*)\] (.*) \((\d+)\): (.*)(Flag|Help)(.*)$/
exclusive 1
call {
$dist = $.lastMatch1
$target = $.lastMatch3
$skill = $.lastMatch5

if ($dist = 9) goto cancel
if ($skill == Flag) goto speed
goto cancel

:speed (this is for buffs)
do chat leave
do sp 29 $target
goto talk

:talk (this is for public message)
do c visit botters2012.blogspot.com
pause 1
do c for more ragnarok botting guides
goto chat

:chat (for chatroom )
do chat create "$chatroomname"
do e @random ("lv","heh","lv2","ok","no1","kis","kis2")
do look 5
goto cancel

:cancel
stop
}
}