Page 1 of 1
cleric autobuff
Posted: Sun Oct 17, 2004 1:42 pm
by tea
anyone have/seen a macro that autobuffs on a tell? such as,
blah tells you, 'virtue please'
You begin casting spell: Virtue.
Posted: Sun Oct 17, 2004 2:01 pm
by A_Druid_00
Nope, no macros like that here
Re: cleric autobuff
Posted: Sun Oct 17, 2004 7:33 pm
by Fluffy
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..
Posted: Sun Oct 17, 2004 8:52 pm
by Rusty~
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.