[Help]error when setting up macro

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

Moderator: Moderators

aronron33
Noob
Noob
Posts: 14
Joined: 24 Nov 2011, 09:35
Noob?: Yes

[Help]error when setting up macro

#1 Post by aronron33 »

here my macro:

Code: Select all

automacro TALK {
	run-once 0
	console /(.*) Welcome to /
call {
	do move z_agit 20 183
	do talk @npc (20 184)
}
}
i get this error when i run ..."syntax error in function 'talk' (talk to npc)"
unknown player
Noob
Noob
Posts: 17
Joined: 01 Aug 2009, 13:06
Noob?: Yes
Location: Somewhere near the river

Re: [Help]error when setting up macro

#2 Post by unknown player »

aronron33 wrote:here my macro:

Code: Select all

automacro TALK {
	run-once 0
	console /(.*) Welcome to /
call {
	do move z_agit 20 183
	do talk @npc (20 184)
}
}
i get this error when i run ..."syntax error in function 'talk' (talk to npc)"
just use, talknpc..like this. do talknpc 20 184 c c r1 n - just an example not the actual response when talking to npc in 20 184..^_^..
Image
aronron33
Noob
Noob
Posts: 14
Joined: 24 Nov 2011, 09:35
Noob?: Yes

Re: [Help]error when setting up macro

#3 Post by aronron33 »

unknown player wrote:
aronron33 wrote:here my macro:

Code: Select all

automacro TALK {
	run-once 0
	console /(.*) Welcome to /
call {
	do move z_agit 20 183
	do talk @npc (20 184)
}
}
i get this error when i run ..."syntax error in function 'talk' (talk to npc)"
just use, talknpc..like this. do talknpc 20 184 c c r1 n - just an example not the actual response when talking to npc in 20 184..^_^..
thanks man...but now i getting error say that npc cannot find in there...