lang.mac

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

lang.mac

Post by bob_the_builder » Wed Oct 15, 2003 11:56 am

New lang.mac Im working on, kinda generic at the moment.

Code: Select all

| Lang.mac
| Create a hotkey for button 6
| Select your language
| /macro lang
| Send a tell to abort
| 10_15_03 by bob_the_builder

#chat tell 

sub Main 

/declare abort global
/varset abort 0

   :loop 
      /press 6
      /doevents
      /if n @abort==0 /goto :loop

/endmacro

Sub Event_Chat 

   /echo Got a tell, ending
   /varset abort 1

/return

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Oct 15, 2003 12:14 pm

Rather than posting code over again I just edited your code above. Enjoy.
MQ2: Think of it as Evolution in action.