Now im pretty sure this will probably be some stupid little mistake im making but like i said, im a newb to macros, heh :-/ any adivice would be apppreciatedCleared the following: Timers Vars Arrays
The current macro has ended.
Moderator: MacroQuest Developers
Now im pretty sure this will probably be some stupid little mistake im making but like i said, im a newb to macros, heh :-/ any adivice would be apppreciatedCleared the following: Timers Vars Arrays
The current macro has ended.
Post one of the macro's you are having a problem with and what you type in to start it. Could help you more that way.Nudyr wrote:When loading almost every macro i get this:
Now im pretty sure this will probably be some stupid little mistake im making but like i said, im a newb to macros, heh :-/ any adivice would be apppreciatedCleared the following: Timers Vars Arrays
The current macro has ended.
and i just type "/macro twist" and i get| - twist.mac -
| /mac twist <GEMs>
| Modified from Colonel's Macro
| <GEMs> is an any length song list of the gem slots. 12345678 or 213457 or 78
| hint make sure selos is in the gem list if you are kiting
#event MissedNote "You miss a note, bringing your song to a close!"
#event Recovered "You haven't recovered yet..."
#turbo
Sub Main(Param0)
/if $defined(Param0)==false /endmacro
/declare CASTTIME global
/declare cursong global
/declare nsongs global
/declare prevsong global
/declare SongList global
/declare SingTime timer
/declare I global
/declare J global
/declare SongArray array
/varset CASTTIME 33
/varset cursong 1
/varset nsongs $strlen(@Param0)
/varset SongList @Param0
/for I 1 to @nsongs
/varcalc J $int(@I-1)
/varset SongArray(@I) $mid(@J,1,@SongList)
| /echo Song @I: $char(gem,@SongArray(@I))
/next I
:Loop
/if n @SingTime<=0 /call Sing @SongArray(@cursong)
/doevents
/goto :Loop
/return
Sub Sing
/varset SingTime @CASTTIME
/stopsong
/cast @Param0
/varset prevsong @cursong
/varadd cursong 1
/if n @cursong>@nsongs /varset cursong 1
/doevents
/return
Sub Event_MissedNote
/varset cursong @prevsong
/varset SingTime 0
/doevents
/return
Sub Event_Recovered
/varset SingTime 0
/varset cursong @prevsong
/doevents
/return
Cleared the following: Timers Vars Arrays
The current macro has ended.
Code: Select all
| /mac twist <GEMs>
| Modified from Colonel's Macro
| <GEMs> is an any length song list of the gem slots. 12345678 or 213457 or 78
| hint make sure selos is in the gem list if you are kiting