DO Command on PM

Moderator: Moderators

Message
Author
HnDance
Noob
Noob
Posts: 1
Joined: 05 Jan 2010, 03:02
Noob?: Yes

Re: DO Command on PM

#11 Post by HnDance »

Can someone help me in this macro, because the bot cant trgger the macro.

automacro doCommand {
console /[Party] (.*)\ : do (.*)/
call {
$nick = $.lastpartyMsg1
$auth = @eval (defined $::overallAuth{"$nick"} ? $::overallAuth{"$nick"}:"None")
if ($auth == 1) goto auth
do pm $.lastpartyMsg1 Asa haha!
stop
:auth
do $.lastpartyMsg2
pause
do pm $.lastpartyMsg1 All done.
}
}

obietobi
Noob
Noob
Posts: 13
Joined: 16 Mar 2010, 11:48
Noob?: Yes

Re: DO Command on PM

#12 Post by obietobi »

I think this thing doesn't work anymore. does anyone have any idea?

gamenikko
The Way Of Human
The Way Of Human
Posts: 192
Joined: 16 Aug 2009, 03:47
Noob?: Yes
Location: Gonryun

Re: DO Command on PM

#13 Post by gamenikko »

its working, use the macro at 2nd post,
be sure that your character is in the overallAuth.txt of the commanded character.
Just like old times.

obietobi
Noob
Noob
Posts: 13
Joined: 16 Mar 2010, 11:48
Noob?: Yes

Re: DO Command on PM

#14 Post by obietobi »

I've tried but did not work..


i put my character's name(the one im going to use to PM the BOT) in the overallAuth.txt
put the second post on my macros.txt
then open my bot.
open my account. PM'd my bot.
"do relog 1600"

did not do anything

gamenikko
The Way Of Human
The Way Of Human
Posts: 192
Joined: 16 Aug 2009, 03:47
Noob?: Yes
Location: Gonryun

Re: DO Command on PM

#15 Post by gamenikko »

Code: Select all

automacro simpleCommando {
	pm /do (.*)/i
	call {
$nick = $.lastpm
	$auth = @eval (defined $::overallAuth{"$nick"} ? $::overallAuth{"$nick"}:"None")
	if ($auth == 1) goto auth
	do pm "$.lastpm" You are not authorize to use this command.
	stop
:auth
	do $.lastMatch1
	do pm "$.lastpm" Command Accepted! :3
	}
}
try its just the same. You should be authorized by the bot to do this,
Just like old times.

missluminosity
Noob
Noob
Posts: 2
Joined: 10 May 2013, 10:51
Noob?: No

Re: DO Command on PM

#16 Post by missluminosity »

obietobi wrote:I've tried but did not work..


i put my character's name(the one im going to use to PM the BOT) in the overallAuth.txt
put the second post on my macros.txt
then open my bot.
open my account. PM'd my bot.
"do relog 1600"

did not do anything
why you use "do" ?
just "relog 1600"
trust me it's still work perfectly

Post Reply