can anyone tell me how to trigger multiple macro, I mean like in cmdOnLogin we use cmdOnLogin c @autoloot for single command but if u want to use 2 or more we use ;; (eg. cmdOnLogin c @autoloot;;c @showexp)
so my problem is how to use multiple macro, like I want to warp my assassin in a map using warper and the name of macro is for warping is warper and i have another macro in the same macro.txt which is for using butterfly wing when HP < 20% and the name of macro is bfw then how do i load both the macro so that when my assassin is in town he used warper and when he is in lockmap he used butterfly wing when his HP goes below 20%
i tries using macro warper;;bfw but it wont work i also tried using
macro warper
macro bfw
still no.
how to trigger multiple macro
Moderator: Moderators
-
- Developers
- Posts: 389
- Joined: 01 Nov 2008, 15:31
- Noob?: No
Re: how to trigger multiple macro
Read about automacro in manual.
Please use pin function for uploading your file contents!
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: how to trigger multiple macro
Two macros can't run simultaneously; if you need to run both, just make a new one which would call them both.
-
- Noob
- Posts: 18
- Joined: 20 Oct 2012, 14:31
- Noob?: No
Re: how to trigger multiple macro
Call me crazy as I'm pretty new to this myself, but I am almost sure you don't need a macro for what you are attempting to do, as the config can handle it by itself, right?
So for the butterfly wing example, adding something like this to your config should suffice:
The documentation for doCommand even has an example for setting up a command to talk to an npc on certain conditions, so you could use that as a basis for setting up your warper example.
So for the butterfly wing example, adding something like this to your config should suffice:
Code: Select all
doCommand is Butterfly Wing {
hp < 20%
inLockOnly 1
}
There's two types of people in this world, kid: Those who can, and those who can't; and cats...
[Plugin] Automatic Map Changer
[Plugin] Automatic Map Changer