Ghetto Chant Kite

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Sephin
orc pawn
orc pawn
Posts: 25
Joined: Fri Nov 28, 2003 2:33 pm

Ghetto Chant Kite

Post by Sephin » Mon Jul 31, 2006 6:39 pm

I made this because I dont have moveutils. You need Advpath.inc and you need your own pathfile .ini to run in it. Other than that /mac chant # # # # # etc etc your good to go. Include selos for one of the #s or figure out your own way to get it to twist in every 2 minutes.
I take no credit for this mac, I just ripped whatever I liked, did some debugging to make it fit together, then added some of my own ghetto code.

Code: Select all

#event Loading "#*#LOADING, PLEASE WAIT...#*#"
#event Recover "#*#You miss a note, bringing your song to a close!#*#"
#event Recover "#*#You haven't recovered yet...#*#"
#event Exp "#*#You gain experience!!#*#"
#event NoTarget "#*#You must first select a target for this spell#*#"

#include advpath.inc

Sub MAIN
/call InitAPFVars 1 15 20

/declare a[${Macro.Params}] int outer 0
/declare nsongs int outer 0
/declare cursong int outer 0
/declare t0 timer outer 0
/declare pcount int outer 0
/declare bcount int outer 0
/varset nsongs ${Macro.Params}

/if (!${Defined[Param0]}) {
   /echo Usage: /mac twisting # # # #....
   /echo Usage: Where # is any Spell Gem number 1-8.
   /end
}

  /for pcount 0 to ${Macro.Params}
       /if (${Defined[Param${pcount}]}) {
         /varcalc bcount ${pcount}+1
            /varset a[${bcount}] ${Param${pcount}}
       /echo Song ${bcount}: ${Me.Gem[${Param${pcount}}]}
          }
  /Next pcount

/varset cursong 0
/varset t0 1
/if ((${Defined[Param0]})&&(!${Defined[Param1]})) /goto :loop2

|Ths is where you put your own filename with /loc for it to follow
 /call PlayFunction "PoNent loop cf nopp noz"

:Loop1
  /if (${t0}<=0) {
    /stopsong
    /delay 2
    /varset t0 32
    /varcalc cursong ${cursong}+1
    /if (${cursong}>${nsongs}) /varset cursong 1
 |   /popup Song ${cursong}: ${Me.Gem[${a[${cursong}]}]}
    /cast ${a[${cursong}]}
    }
  /doevents
/if (${PathingFlag}==1) {
    /call AdvPathPoll
    /delay 0
    /doevents
    /goto :Loop1
  }
/return

:loop2
  /if (!${Bool[${Me.Casting}]}) {
   /stopsong
   /delay 1
   /cast ${Param0}
   /doevents
   /delay 3
  }
/goto :Loop2
/return

Sub Event_Loading
    /camp desktop
/return

Sub Event_Recover
  /varcalc cursong ${cursong}-1
  /varset t0 1
/return

Sub Event_Exp
   /keypress f8
/return

Sub Event_NoTarget
   /keypress f8
/return
Enjoy.

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 2:40 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 2:41 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 2:42 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 2:43 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 2:45 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:22 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:23 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:24 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:25 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:26 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 3:27 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 4:04 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 4:06 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Ghetto Chant Kite

Post by xyilla » Wed Jul 23, 2025 4:07 am