Search found 4 matches

by holmedog
Mon Nov 01, 2004 11:25 am
Forum: MQ2::Macros::Snippets
Topic: Cannibalize Macro
Replies: 8
Views: 3959

The argument that it was small was not the reasoning that you leave the recursion in. The argument was that it is a valid type of programming, much more efficient than goto statements, and works. Take any programming classes and the first thing they will tell you is never use a goto statement, ever....
by holmedog
Mon Nov 01, 2004 7:58 am
Forum: MQ2::Macros::Snippets
Topic: Cannibalize Macro
Replies: 8
Views: 3959

Actually, calling a function from itself is a form of recursion. It is very useful and much more powerful than goto statements, there is no reason they should be used in code. In a function that takes up less than 1kb, it couldn't possibly cause more than a 1mb hold-up in ram over an hours worth of ...
by holmedog
Sun Oct 31, 2004 3:45 pm
Forum: MQ2::Macros::Snippets
Topic: Cannibalize Macro
Replies: 8
Views: 3959

Cannibalize Macro

Start this within 2 seconds of your tick and it will canni dance for you Edit: Think I fixed it to include all canni timers, may have to adjust how long you pause after the cast of canni Edit: Took out the second function, it was erenuous and just causes more problems for 6 lines of code. Also chang...
by holmedog
Mon Oct 27, 2003 1:55 pm
Forum: Macro Requests (MQ1)
Topic: Shaman-Grouped
Replies: 1
Views: 874

Shaman-Grouped

I was wondering if someone could create a macro that does the following: Stand and cast slow whenever a mob is pulled Recast if fizzle Cast haste/other buffs as timer wears off on all party members Delegate leadership of group to someone else if put to bot Auto-Gate if group disbands Tell pet /attac...