Page 1 of 1

cast spell x on target y on request

Posted: Sat Feb 05, 2005 4:58 am
by mauroxx
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

Posted: Sat Feb 05, 2005 5:25 am
by aChallenged1
Have you looked at AFCleric?

Posted: Sat Feb 05, 2005 7:43 am
by Ziggy
<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>

Posted: Sat Feb 05, 2005 12:24 pm
by SukMage
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.

WTF

Posted: Sun Feb 06, 2005 12:48 pm
by mauroxx
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

Posted: Sun Feb 06, 2005 12:58 pm
by eqjoe

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 :(

Posted: Sun Feb 06, 2005 1:11 pm
by Draconis
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.