[Solved]emotion triggers

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

Moderator: Moderators

qimux
Noob
Noob
Posts: 4
Joined: 19 Apr 2012, 04:19
Noob?: Yes

[Solved]emotion triggers

#1 Post by qimux »

Code: Select all

automacro fcp {
console /\[dist=(.*)\] (.*) \((\d+)\): (\*Good Game\s\d\*|fcp)$/
exclusive 1
call {
$distance = $.lastMatch1
$namaPlayer = $.lastMatch2
$playerID = $.lastMatch3
$playerguild = @eval (exists $::players{$::playersID[$playerID]}->{guild} ? $::players{$::playersID[$playerID]}->{guild}{name} : 'null')
#Guild Name
$guild = SpgFallenEmpire
$guild1 =  O 
$guild2 = 
$guild3 = 
if ($playerguild == $guild) goto oke
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
goto lain
:oke
do sp 479 $playerID 5
pause 1
goto end
:lain
do e omg
do c Who You
:end
}
}
when i say FCP macro will fcp me but when i make emotion good game its does nothing.
how to enable it or the macro are wrong ?
Last edited by andy12345 on 16 May 2012, 14:52, edited 1 time in total.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: emotion triggers

#2 Post by EternalHarvest »

qimux wrote:\*Good Game\s\d\*
What is "\s\d" for? Doesn't it look ike "*Good Game*" in log?
qimux
Noob
Noob
Posts: 4
Joined: 19 Apr 2012, 04:19
Noob?: Yes

Re: emotion triggers

#3 Post by qimux »

my problem solved.
i delete the s\d thing