Help with interaction command with chat people

Hi, I am trying to add a command that allows you to interact with people in chat in two ways

first: if the command is alone, just pick someone at random from the chat and place a line of the text

second: if the command is accompanied by @user select the indicated person and put the text line

I have seen that there are APIS that select someone randomly from the chat but it does not work with the @user, surely it is a question already solved many times, thanks for your time T_T

The command I am trying to add is the following

$(user) le dio galletas a …"(forma 1 o 2)"

Hey @MichiTriste!

I think I understand what you’re looking for, and we’ve covered this topic many times before already, please use the search bar before creating a topic, here’s a link to help you:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.