[HELP]about my macro for warp.

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

Moderator: Moderators

PepsiCoke
Human
Human
Posts: 46
Joined: 21 Apr 2012, 22:41
Noob?: Yes

[HELP]about my macro for warp.

#1 Post by PepsiCoke »

Unsafe macro. Author hasn't even read the red text in the macro manual.
automacro chat {
console /All Players ignored/i
call {
do sit
do look 5
do chat create "WARP : Pront150k" 2 0 clears1
}
}

automacro antiblock {
console /lale .*? requests a deal/i
call {
do deal no
pause 1
}
}


automacro pm {
console /(.*?) .*? requests a deal/i
call {
do e gg
do pm "$.lastMatch1" thank you for picking me up as ur warper..
}
}
##################################################################
automacro PRONT {
console /You gained 150,000 zeny./i
exclusive 1
call prontera
}

macro prontera {
do chat leave
do stand
pause 1
do c papuntang PRONTERA to..
pause 2
$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 3
do e go
do c PAUNAHAN!
}
#####################################################################
automacro failed {
console /You didn't cast warp portal./i
exclusive 1
call realpront
}

macro realpront {
pause 2
$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 0
do e go
do c PAUNAHAN ulet!~
}

can someone help me with this... this macro of mine is working properly...
but the problem is... when i try to put a do relog here

Q: why u need to put a do relog?
A: coz when i cast warp portal there are many players(who are unpaid) who are accessing the portal that i have made.. thats why i need to put do relog on my macro./ I need to make some PROFIT on this.. i love zenies... /heh
macro prontera {
do chat leave
do stand
pause 1
do c papuntang PRONTERA to..
pause 2
$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 3
do e go
do c PAUNAHAN!
pause 1
do relog
<<<<

after putting a do relog on this the problem now is... my warper is now ignoring the macro below :(
automacro failed {
console /You didn't cast warp portal./i
exclusive 1
call realpront
}

macro realpront {
pause 2
$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 0
do e go
do c PAUNAHAN ulet!~
}