Wednesday, February 8, 2012

Emoticon/Message Warper Bot Macro

On your Macro.txt in config Copy/Paste this code:

automacro one {
console /omg./i (This line is for the emoticon or message)
exclusive 1
call {
do c Welcome to warp zone (The warper will do before executing the warp)
pause 1
pause 1
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x0 = @eval($x + @rand(1,3))
$x1 = @eval($x - @rand(1,3))
$y0 = @eval($y - @rand(1,3))
do sl 27 @random("$x0", "$x1") $y0
pause 1
do warp alberta (the map you want to warp)
do c That warp goes to alberta (the message before do the warp)
do sp "Heal" "$.lastMatch1" 10 (These are the Buffs)
do sp "Blessing" "$.lastMatch1" 10 (These are the Buffs)
do sp "Increase Agi" "$.lastMatch1" 10 (These are the Buffs)
do eval open(FILE, ">>", Settings::getControlFilename("recorder.txt")); print FILE "VE_FILD03 - HELP \n"; close FILE;(The warp will record in recorder.txt)
}
} (closing tag)


if you want to have another warp just copy paste another code this on the closing tag and then mark as automacro two..