I'm trying to make an automacro that coats when you pm the character a specific text....
I'm not sure why this isn't working.
It keeps saying
match: wrong # of argument (a*)()
This is my macro
automacro coat {
pm (a*)[,$.lastpmMsg]
call {
do ai manual
pause 1
do sp(479)
}
timeout 20
}
What am I doing wrong? I am stupid new and maybe I am missing something...
Any help is super appreciated... and any explanation is awesome.
Getting a Coater Macro to work properly...
Moderator: Moderators
-
- Noob
- Posts: 5
- Joined: 06 Jul 2014, 16:15
- Noob?: Yes
-
- Noob
- Posts: 5
- Joined: 06 Jul 2014, 16:15
- Noob?: Yes
Re: Getting a Coater Macro to work properly...
I think I'm missing how to get the bot to target the person that pm's him.... hmmmm
-
- Noob
- Posts: 5
- Joined: 06 Jul 2014, 16:15
- Noob?: Yes
Re: Getting a Coater Macro to work properly...
Figured it out.
automacro Coater {
pm /coat/i
run-once 1
call Coat
}
macro Coat {
do stand
do sp 479 $.lastpm
pause 1
pause 1
release Coater
}
So I get for a template it would be as such...
***delete from the three stars and replace with description between***
automacro ***name 1*** {
pm /***text you want to pm***/i
run-once 1
call ***name 2***
}
macro ***name 2*** {
do stand
do sp ***skill number*** $.lastpm
pause 1
pause 1
release ***name 1***
}
automacro Coater {
pm /coat/i
run-once 1
call Coat
}
macro Coat {
do stand
do sp 479 $.lastpm
pause 1
pause 1
release Coater
}
So I get for a template it would be as such...
***delete from the three stars and replace with description between***
automacro ***name 1*** {
pm /***text you want to pm***/i
run-once 1
call ***name 2***
}
macro ***name 2*** {
do stand
do sp ***skill number*** $.lastpm
pause 1
pause 1
release ***name 1***
}