I would like to add a random timer into one of my macro's to cast a spell at random times.
I guess it would be like /varset t0 random 10m 15m
Moderator: MacroQuest Developers

Actually, I think what you'd really want is something more along these lines...Gengis wrote:I would like to add a random timer into one of my macro's to cast a spell at random times.
I guess it would be like /varset t0 random 10m 15m
Code: Select all
|Defined values are in minutes
#define MaxRange 5
#define MinTime 10
/varcalc t0 MinTime*60+$rand($calc(MaxRange*60))