Need Some Help for adjust my macro

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

Moderator: Moderators

Message
Author
grace0806
Noob
Noob
Posts: 2
Joined: 09 Jul 2011, 09:01
Noob?: No

Need Some Help for adjust my macro

#1 Post by grace0806 »

Hi,all

I'm newbie here, I have a question to make a macro for run outside file such as .bat file. Like when we make macro run file .wav when trigger.

automacro death{
console /You have died/
run-once 1
call play4
}

macro play4{
do eval Utils::Win32::playSound('E:\OpenKore SirenLove\sound\died.wav');
pause 4
release death
}

But if I want to run file a.bat instead it possible?. Because now in TRO when GM cacth one of your bot they will folllow your ip address and at the end they will ban all include the last recieved money from bot.

So I want to write Macro not run file .wav ,run file shutdown.bat insteaded. (Use console foud and disconnect to trigger) but I don't understand how to use "do eval" format.

Can someone give advise to me?

Thankyou.

grace0806
Noob
Noob
Posts: 2
Joined: 09 Jul 2011, 09:01
Noob?: No

Re: Need Some Help for adjust my macro

#2 Post by grace0806 »

ok, I already got a answer :D

Thankyou Perl

Post Reply