Lua Script: Added support for multiple parameters to SKIN:Bang() to simplify bang arguments:
SKIN:Bang(string bang, string arg1, string arg2, string argN)
SKIN:Bang('!SetOption', 'Meter1', 'FontSize', '15')
Previously, a bang was sent using SKIN:Bang('bang string'). New scripts should use SKIN:Bang('!name', 'arg1', 'arg2', 'argN').
s1='A "B'
SKIN:Bang('!SetOption mt2 Text \"\"\"'..s1..'\"\"\"')
SKIN:Bang('!SetOption','mt2','Text',s1)
there is a double quote in the string so if I use a complete !Bang I have to use triple-double quotes around parameter, but with the new feature this one is much simpler
It eliminates the need for both magic quotes and concatenation of multiple variables and conditions into one long string.
So, yes you are getting it.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .