Hi I’m new here. I findout strange thing trying to create simple command thad nightbot get to many args. When you try to use command $(leagueoflegends) in $(eval) this is the code i create :
$(eval
let par1 = 'aezarkones';
let par2 = 'eune';
let p1 = '$(1)';
let p2 = '$(2)';
if (p1 != 'null')
{par1 = p1}
if (p2 != 'null')
{par2 = p2}
'Debug0: ' + par1 + ' ' + par2 + ' ' + p1 + ' ' + p2 +
' Rank dont work: $(leagueoflegends ' + par1 + ' ' + par2 + ')'
+ ' Rank work: $(leagueoflegends $(1) $(2))'
)
For now I must rewrite my code to work can you fix this or it’ll be like this?
BTW Update $(leagueoflegends) command on https://docs.nightbot.tv/variables/leagueoflegends where you show it have only 2 possible args when it have 3 possible args you only write this on forum not in docs on site :/.