Can i make night bot say something else if there’s no input after a command? EX: !Hug $(touser) | !hug = Please type a user to hug. | !hug ghostslayer989 = $(user) hugged $(touser)
This should do the trick
!addcom !hug $(eval var a = "$(query)";
if (a === "") {
("Please type a user to hug.");
} else {
("$(user) has hugged " + a);
})
Just copy paste that into your chat.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.