AD non guild member

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

Moderator: Moderators

Message
Author
lemonzai
Noob
Noob
Posts: 1
Joined: 17 May 2011, 05:34
Noob?: No

AD non guild member

#1 Post by lemonzai »

Code: Select all

***************** Auto Attack *******************

automacro paket {
sp > 30%
exclusive 1
run-once 1
call {
$distance = $.lastMatch2
$namaPlayer = $.lastMatch3
$playerID = $.lastMatch4
$playerguild = @eval (exists $::players{$::playersID[$playerID]}->{guild} ? $::players{$::playersID[$playerID]}->{guild}{name} : 'null')

#Nama guild yg mau di paket
$guild1 = DustOfMemories
$guild2 = nama guild


if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke

goto lain

:oke
goto end

:lain
do sp 490 $.lastplayerID 10
:end

release paket
}
}
anyone can tell how do it correctly ?