Can anyone tell me what to write in config.txt for starting macro (its in macros.txt)
like for auto login command we use cmdOnLogin c @autoloot
like that what to use to run the below macro
automacro healer {
sp < 20
hp < 300
map einbroch
call {
do talknpc 85 202 n
}
timeout 10
}
its used for using healer when respawned after death
please dont give the macro plugin help link i didnt understand anything from that
Need help with auto macro
Moderator: Moderators
-
- Developers
- Posts: 389
- Joined: 01 Nov 2008, 15:31
- Noob?: No
Re: Need help with auto macro
First af all? post code in "code" tags:
Than, better to use automacro with named macro:
after that you must ask yourself - "Do we need to walk some distance to talk to npc or not?" and if it is "yes", add some do move to your macro...
p.s. instead of timeout you better use:
Code: Select all
automacro healer {
sp < 20
hp < 300
map einbroch
call {
do talknpc 85 202 n
}
timeout 10
}
Code: Select all
automacro healer {
sp < 20
hp < 300
map einbroch
timeout 10
call heal
}
macro heal {
do talknpc 85 202 n
}
p.s. instead of timeout you better use:
Code: Select all
automacro healer {
sp < 20
hp < 300
map einbroch
run-once 1
call heal
}
macro heal {
do talknpc 85 202 n
release healer
}
Please use pin function for uploading your file contents!