cast spell x on target y on request

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

Moderator: MacroQuest Developers

mauroxx
orc pawn
orc pawn
Posts: 24
Joined: Mon Jan 31, 2005 5:23 am

cast spell x on target y on request

Post by mauroxx » Sat Feb 05, 2005 4:58 am

Hello again, i' m in need of a macro that does this

player A tells you: CHheal on TargetName
player A tells you: qickheal on TargetName
player A tells you: Hot on TargetName

i tryed modifiyng a lot of macros already posted, leeching pieces... but i have always flow problems with sub routines on chat cecking, can anyone help plz?....

if u dont wanna write down full macro just do this if u can :

write a main with the correct cycle to ceck various chat events (tell, say, raid, guild), with a comment

|insert here your If for spell requests...

i have problem only on chat parsing, not on if clauses

tnx a lot in advance

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Feb 05, 2005 5:25 am

Have you looked at AFCleric?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Ziggy
a lesser mummy
a lesser mummy
Posts: 73
Joined: Sat Jun 26, 2004 5:30 pm

Post by Ziggy » Sat Feb 05, 2005 7:43 am

<paranoia>
I'd always be warey of that kind of thing personally. GMs are quite capable of interecepting tells/group chat.

And it's really not hard for them if they, one day, decided to actively track any suspcicious chat.
</paranoia>

User avatar
SukMage
a ghoul
a ghoul
Posts: 88
Joined: Fri Jun 04, 2004 5:08 pm

Post by SukMage » Sat Feb 05, 2005 12:24 pm

I have genbot setup to box my wife's dru. You can set shortcuts to do whatever you want...
I.E.

Code: Select all

[SHORTCUTS]
regen=buff regrowth on NameS
root=assist|snt Engulfing Roots
cheal=snt Tunare's Renewal on NameS
etc.
etc.
etc.
You set the talk in tells/group/channel/(for the paranoid)IRC channel...
Has all sorts of other commands such as watchtarget for PLing and doheal on for group or whatever that you can send the bot so you don't have a need to always "/t bot cheal %t." For the effect you are requesting I would suggest genbot as not to re-invent the wheel and have all of the added versatility.

mauroxx
orc pawn
orc pawn
Posts: 24
Joined: Mon Jan 31, 2005 5:23 am

WTF

Post by mauroxx » Sun Feb 06, 2005 12:48 pm

lol.... i have not asked an opinion on GMbans.... i asked a macro help on a chat parsing macro, why ppl have to start drama when is not required? so many unuseful posts have been wondering around these forums... this is macro request forum so i expected to ask for a macro help and have help on that macro..... if i would get an advice on gm bans etc i could go ask SoE forums ... dont u think so?

PS: anyone can really help me writing a fast loop with chat (tells, group, raid) parsing plz?

PS2: yes i looked AFcleric as first macro but it has too many functions i really dont need, i just need cast X on Y

----
Mauroxx

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Sun Feb 06, 2005 12:58 pm

Code: Select all

#chat group 
 /varset MT ${Param0}
sub Event_chat 
/declare msglen int local 
| /echo chat event!
/if (${String[${Param0}].Equal[group]}) {   
   | /echo group chat!
   /if (${String[${Param1}].Equal[${MT}]})    {                       
      /if (${String[${Param2.Left[9]}].Equal[assist me]})  {  
      /varset msglen ${Math.Calc[${String[${Param2}].Length}-11]}
      /varset TargetMobID ${String[${Param2}].Right[${msglen}]}
      /call Assist
                } 
I use this to assign ${Param0} from the command line as the MT. When the MT talks in group chat, the bot listens! I then parse group chat for the command "assist me". So, if the group member declared on the command line says "assist me ${Target.ID}, the group chat fires the chat event which is parsed for the target ID. The Assist subroutine does a /target ID ${TargetMobID}.

-j

EDIT: Still cant spell for shit :(
Last edited by eqjoe on Sun Feb 06, 2005 3:36 pm, edited 1 time in total.

Draconis
a lesser mummy
a lesser mummy
Posts: 40
Joined: Tue Mar 23, 2004 4:53 pm

Post by Draconis » Sun Feb 06, 2005 1:11 pm

http://macroquest2.com/phpBB2/viewtopic.php?t=10453

I wrote this a while ago, just run it once and edit the ini, replace the buffs with the heal spell you want and just say give buff # of the heal spell you want to cast followed by the name of who you want to get it.

eg, Give buff 1 eqjoe, would cast whatever heal spell you have set for buff 1 on eqjoe.