[Problem] automacro is doing triggered and never stop

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

ajoope
Noob
Noob
Posts: 3
Joined: 20 Aug 2011, 23:17
Noob?: No

[Problem] automacro is doing triggered and never stop

#1 Post by ajoope »

hi all
first I'm Bad in English
second This is my first macro

there r an event and i started to make a macro
this is part of it

Code: Select all

automacro nour1 {
inventory "Milk" <= 0
location not prontera 152 323
call move1
}

macro move1 {
do move 152 323
stop
}

automacro nour01 {
location prontera 152 323
call {
do talknpc 152 326 c r1 n
storage get Milk 100
storage close
}
}
the problem in the first was that the bot was triggered nour1 and never stop although he was 152 323
so i but location not
now the problem is keeping trigger to nour01 and never stop

Code: Select all

[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence: c r1 n
[macro] automacro nour01 triggered.
Talking to NPC at (152, 326) using sequence
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: Yes

Re: [Problem] automacro is doing triggered and never stop

#2 Post by SkylorD »

Try adding "run-once 1" or timeout.
DEACTIVATED 8-)
ajoope
Noob
Noob
Posts: 3
Joined: 20 Aug 2011, 23:17
Noob?: No

Re: [Problem] automacro is doing triggered and never stop

#3 Post by ajoope »

lol thx ^^"
i used some of them and some of pause ^^"