Hi,
I'm having problem w/ my bot warper. the problem is that it buffs other player instead of the player that made a deal w/ my bot.
this my macros.txt
automacro antiblock {
console /lale .*? requests a deal/i
call {
do deal no
pause 1
}
}
automacro Ice {
console /You gained 1,300 zeny./i
exclusive 1
call {
do chat leave
do stand
pause 1
do sp 34 "$.lastMatch1" 10
do c Thank you! | This warp is to Ice Dungeon
pause 1
do sl 27 @random ("96 58","99 60","95 56","100 58")
pause 2
do warp 3
do sp 29 "$.lastMatch1" 10
do e thx
pause 1
}
}
i already searched the forum but it made me more confused... sorry for bothering... thank you
need help with macro that will buff the player
Moderator: Moderators
-
- Noob
- Posts: 8
- Joined: 14 Feb 2012, 07:10
- Noob?: Yes
need help with macro that will buff the player
Last edited by willsnake on 15 Feb 2012, 21:04, edited 1 time in total.
-
- Noob
- Posts: 8
- Joined: 14 Feb 2012, 07:10
- Noob?: Yes
Re: need help with macro that will buff the player
Hi,
I have solved already this prob... but my problem now is that macro wont recognize name with a backslash character "\"
this is part of my macro
automacro b {
console /(.*?) \(level (\d*)\) Requests a Deal/
call {
do deal
$name = $.lastMatch1
do pm "$name" "Mosco 4.9k"
do pm "$name" "Rachel 4.7k"
do pm "$name" "Kobold 4.8k"
do pm "$name" "Veinstown 5k"
pause 15
do deal no
do sit
}
}
thank you for replys if there would be any...
I have solved already this prob... but my problem now is that macro wont recognize name with a backslash character "\"
this is part of my macro
automacro b {
console /(.*?) \(level (\d*)\) Requests a Deal/
call {
do deal
$name = $.lastMatch1
do pm "$name" "Mosco 4.9k"
do pm "$name" "Rachel 4.7k"
do pm "$name" "Kobold 4.8k"
do pm "$name" "Veinstown 5k"
pause 15
do deal no
do sit
}
}
thank you for replys if there would be any...
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: need help with macro that will buff the player
"\" is escape character in "pm" (and some other) command. Use "\\" to get "\".willsnake wrote:macro wont recognize name with a backslash character "\"