Difference between revisions of "Macro"
Line 28: | Line 28: | ||
}</blockquote> | }</blockquote> | ||
=Useful Macros= | ===With all /parts and lyrics=== | ||
Each next line of the lyrics will show after you send /songname repeatedly after your initial start. | |||
<blockquote>songwithlyrics</br> | |||
{</br> | |||
if archivelyrics == 1</br> | |||
"/equip instrumentbox \r"</br> | |||
"/useitem left /remove [Instrument] \r"</br> | |||
pause 1</br> | |||
"/equip [Instrument] \r"</br> | |||
pause 15</br> | |||
"/use /part [Music Part 1] \r"</br> | |||
"/use /part [Music Part 2] \r"</br> | |||
"/use /part [Music Part 3] \r"</br> | |||
"/use /part [Music Part 4] \r"</br> | |||
"/use [Music Part 5] \r"</br> | |||
"/useitem left /add [Instrument] \r"</br> | |||
"/narrate [Title] by [Composer] \r"</br> | |||
message "* Ready to auto-sing"</br> | |||
else if archivelyrics == 2</br> | |||
"[Lyrics 1] \r"</br> | |||
else if archivelyrics == 3</br> | |||
"[Lyrics 2] \r"</br> | |||
else if archivelyrics == 4</br> | |||
"[Lyrics 3] \r"</br> | |||
message "* Lyrics finished, macro reset!"</br> | |||
setglobal archivelyrics 0</br> | |||
end if</br> | |||
setglobal archivelyrics + 1</br> | |||
}</br> | |||
"/songname"</br> | |||
{</br> | |||
call songwithlyrics</br> | |||
} | |||
</blockquote> | |||
=Other Useful Macros= | |||
===Stop Macro=== | ===Stop Macro=== | ||
<blockquote>"/stop" | <blockquote>"/stop" |
Revision as of 00:23, 22 August 2024
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"
}