utomacro sample {
console /Player (.*) \(\d+\) is casting Magnificat on/i
exclusive 1
call {
$dist = $.lastmatch1
$i = $.lastMatch3
do sp 277 $i 1
stop
}
}
THANK YOU TO IN ADVANCE
my problem was if they someone cast like Magnificat (it is only example) my macro triggered but my char used spell or skill on other player not the one who cast the Magnificat.. (sorry for the bad english)
please help..
MACRO HELP Skill on player
Moderator: Moderators
-
- Noob
- Posts: 2
- Joined: 28 Aug 2012, 00:40
- Noob?: Yes
Re: MACRO HELP Skill on player
please help..
-
- Been there done that!
- Posts: 133
- Joined: 09 Oct 2009, 01:43
- Noob?: No
Re: MACRO HELP Skill on player
You don't have value for $.lastMatch3
Try this:
If you meant distance by $dist then you are using it incorrectly. $.lastMatch1 should be the player's name.
Try this:
Code: Select all
automacro sample {
console /Player (.*) \((\d+)\) is casting Magnificat on/i
exclusive 1
call {
$i = $.lastMatch2
do sp 277 $i 1
stop
}
}