Macro

From Bards Field
Revision as of 00:23, 22 August 2024 by Bingro (talk | contribs)
Jump to navigation Jump to search

Standard Macro Templates

Without /parts

"/title"

{
"/equip instrumentbox \r"
"/useitem left /remove [Instrument] \r"
"/equip [Instrument] \r"
pause 5
"/use [Music with max. 512 characters] \r"
"/narrate [Title] by [Composer] \r"

}


With all /parts

"/title"

{
"/equip instrumentbox \r"
"/useitem left /remove [Instrument] \r"
"/equip [Instrument] \r"
pause 5
"/use /part [Music Part 1] \r"
"/use /part [Music Part 2] \r"
"/use /part [Music Part 3] \r"
"/use /part [Music Part 4] \r"
"/use [Music Part 5] \r"
"/narrate [Title] by [Composer] \r"

}

With all /parts and lyrics

Each next line of the lyrics will show after you send /songname repeatedly after your initial start.

songwithlyrics

{
if archivelyrics == 1
"/equip instrumentbox \r"
"/useitem left /remove [Instrument] \r"
pause 1
"/equip [Instrument] \r"
pause 15
"/use /part [Music Part 1] \r"
"/use /part [Music Part 2] \r"
"/use /part [Music Part 3] \r"
"/use /part [Music Part 4] \r"
"/use [Music Part 5] \r"
"/useitem left /add [Instrument] \r"
"/narrate [Title] by [Composer] \r"
message "* Ready to auto-sing"
else if archivelyrics == 2
"[Lyrics 1] \r"
else if archivelyrics == 3
"[Lyrics 2] \r"
else if archivelyrics == 4
"[Lyrics 3] \r"
message "* Lyrics finished, macro reset!"
setglobal archivelyrics 0
end if
setglobal archivelyrics + 1
}
"/songname"
{
call songwithlyrics
}


Other Useful Macros

Stop Macro

"/stop"

{
"/equip instrument \r"
"/useitem left /remove Gitor\r"
"/equip Gitor\r"
pause 5
"/use /stop \r"
"/useitem left /add Gitor\r"

}