cleric autobuff

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

Moderator: MacroQuest Developers

tea
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sun Oct 17, 2004 1:38 pm

cleric autobuff

Post by tea » Sun Oct 17, 2004 1:42 pm

anyone have/seen a macro that autobuffs on a tell? such as,
blah tells you, 'virtue please'
You begin casting spell: Virtue.

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sun Oct 17, 2004 2:01 pm

Nope, no macros like that here
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
Fluffy
a ghoul
a ghoul
Posts: 81
Joined: Sun Aug 22, 2004 5:08 pm

Re: cleric autobuff

Post by Fluffy » Sun Oct 17, 2004 7:33 pm

tea wrote:anyone have/seen a macro that autobuffs on a tell? such as,
blah tells you, 'virtue please'
You begin casting spell: Virtue.
This script would be easy to make. The problem is for what you are asking is easily abused... And or noted as a bot and or will cast at the wrong time..

Example:

/gsay Hey I had to ask her 5 times for virtue
You begin casting spell: Virtue.

/gsay Can I get a virtue please
You begin casting spell: Virtue.
/gsa Hmm virtue?
You begin casting spell: Virtue.
/gsa Watch this VIRTUE
You begin casting spell: Virtue.

You can see the problems with that.. However there could be alot of checking and a default user list that could access it..

I might be intrested in writing this for ya, please PM me with the class that you want to do buffs with and I will see what I can do. Hell it might turn out to be a buff bot when I am done for all classes who knows..

Rusty~
a hill giant
a hill giant
Posts: 244
Joined: Wed Apr 14, 2004 2:55 pm

Post by Rusty~ » Sun Oct 17, 2004 8:52 pm

you could have a timer so that a certain person can only ask for the same buff once in like 5 minutes or something...

something like:

Code: Select all

Sub Event_Chat(string chatType,string chatSender,string chatText)

| ... stuff
/if ( ${chatText.Find[virtue]} && !${buffTimer_virtue_${chatSender}} ) {
   /if ( !${Declared[buffTimer_virtue_${chatSender}]} ) /declare buffTimer_virtue_${chatSender} timer outer
   /varset  buffTimer_virtue_${chatSender} 5m
   /target pc ${chatSender}
   /call cast "virtue"
}

/return

Sub Event_Timer(string timerName,int timerValue)
   /if ( ${timerName.Arg[1,_].Equal[buffTimer]} ) /deletevar ${timerName}
/return
this is just basic example.. you would need to add in other things as well. I use a queue for buffs, which will add any buff tells to queue, and cast them on the person when they get in range.