A more simpler boxing nuke macro?

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

derekj54
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Apr 09, 2008 1:43 am

A more simpler boxing nuke macro?

Post by derekj54 » Wed Apr 09, 2008 10:24 am

all of the macros ive found seem to want to play the char for me. i want to box a wizard and all i want is for when i say something specific on my main char in group then it will cast a nuke once. and does this work with several instances of eq on the same compuer? like if i have 3 wizards going would they all do the same thing?

G1zm0|)-->
a lesser mummy
a lesser mummy
Posts: 61
Joined: Thu Jan 12, 2006 2:18 pm

Post by G1zm0|)--> » Wed Apr 09, 2008 10:32 am

Non s?r. Autant que je sais que vous devez avoir un autre programme install? sur votre ordinateur re?oivent afin de cas multiples dirig?s de MQ. Je n'ai jamais vraiment fait rien comme ?a auparavant. Bonne chance bien que.

:lol:

derekj54
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Apr 09, 2008 1:43 am

Post by derekj54 » Wed Apr 09, 2008 11:00 am

i dont understand what you said, but how about a macro that assists a certain person then casts the spell, i dont need variables for the person sending the message since it will always be the same

pw
a ghoul
a ghoul
Posts: 130
Joined: Sun Jan 02, 2005 5:59 am

Post by pw » Wed Apr 09, 2008 11:14 am

Try this as a starting point. Completely untested:

Code: Select all

#event NUKE "#*#nuke now#*#"

Sub Main 
   /echo Waiting for instruction to nuke
   :Start 
   /doevents 
   /delay 3s

   /goto :Start 
    
/return 

    
Sub Event_NUKE
   /cast "somenukespell"
/return


G1zm0|)-->
a lesser mummy
a lesser mummy
Posts: 61
Joined: Thu Jan 12, 2006 2:18 pm

Re: A more simpler boxing nuke macro?

Post by G1zm0|)--> » Wed Apr 09, 2008 11:34 am

derekj54 wrote: and does this work with several instances of eq on the same compuer? like if i have 3 wizards going would they all do the same thing?
As far as I know you cannot run multiple instances of mq on the same pc without some other third party software like eqwindows or something like that. I've never really tried. I have three computers at home and never found the need to do it that way.

mystikule
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jul 17, 2004 9:23 pm

Post by mystikule » Wed Apr 09, 2008 11:49 am

I'm pretty sure I just got dumber...
[quote="fearless"]A macro is not psychic.[/quote]

derekj54
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Apr 09, 2008 1:43 am

Post by derekj54 » Wed Apr 09, 2008 11:57 am

i have 2 computers both use up to 3 instances of eq, you dont need eq windows to do it anymore you can use straight eq client now days

derekj54
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Apr 09, 2008 1:43 am

Post by derekj54 » Wed Apr 09, 2008 12:02 pm

i play eqemu, i just dont understand this language really, i am by no means familiar with many languages but i have some perl experiance, i have searched the forums all morning and i really cant find anything like i want

derekj54
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Apr 09, 2008 1:43 am

Post by derekj54 » Wed Apr 09, 2008 12:50 pm

i just want when i say "nuke" in group the wizard will /assist mychar name and cast the spell or simply just press 1 then press 2 since i have an assist button and a nuke button on the hotbar already

Clops
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Apr 24, 2006 11:05 am

Post by Clops » Wed Apr 09, 2008 1:15 pm

Could try this, haven't tested.

Code: Select all

#include spell_routines.inc  
#Chat  Group 

/declare SpellOne string outer Uber Nuke Rk. II

Sub Main
:loop
/goto :loop
/return

Sub Event_Chat(string ChatType,string Master,string ChatText) 
   /if (${ChatText.Equal[nuke]}) { 
      /assist ${Master} 
      /delay 5 
      /if (${Target.Type.NotEqual[NPC]}) { 
         /assist ${Master} 
         /delay 5 ${Target.Type.Equal[NPC]} 
      } 
	      /if (${Target.Type.Equal[NPC]} && ${Target.ID} && ${Spell[${SpellOne}].Range}>=${Target.Range}) { 
	         /if (${Me.SpellReady[${SpellOne}]}) { 
	            /g Casting ${SpellOne} on ${Target.CleanName} 
	            /call Cast "${SpellOne}" spell 3s 
	         } else { 
	           /tell ${Master} Spell is not Ready 
	         } 
	      }
      } 

/return