How can I delete the chat only for a specific username?

I added a button in my chat room that allows you to delete the entire chat; and I would like only a certain user to be able to delete it ES: userfounder2

these are the blocks



blocks (2)

blocks (5)

blocks (5)



blocks (2)


blocks (6)

You have the user name in username_text.Text, right?
So surround that CloudDb1.ClearTag block with an if/then block
comparing 'userfounder2' with username_text.Text
and only do the ClearTag if they are equal.

thanks, this was the solution

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