I'm trying to use night bot to create a list of users within itself so i can call upon those names for other logic, I think I should be able to do it all with one command.
The way i was thinking of is something like !kiss $(eval var query1 = $(1); var query2= $(2); array friends = []; bool friend = 0; if query1 == "add" then friends.append(query2); else (while i < friends.length, i = 0, do; if query1 == friends(i) then "the biggest kisses"; friend = 1; else i += 1;) if friend = 0 then "mwah"
i don't suppose there would be a dynamic way to keep a list like that within a command is there, so would i need to hardcode the usernames in there? if any of the logic isn't clear i can explain it but it should be pretty straight forward, idk about the syntax of everything because i haven't really used this language before