Page 1 of 1

how to send a message to a user after kick him

Posted: 04 Oct 2021, 05:37
by Persy
Hello
in my project I need to send a message to the kicked user 5 seconds After I kick him

I used setInterval

The only problem is what should I put for [user] in response


Can I replace it by chan? if yes how can I get the chan of kicked user by ip for example?

Re: how to send a message to a user after kick him

Posted: 06 Oct 2021, 08:24
by Lapo
Hi,
kicking means that a user is getting disconnected, so it's not possible to send a message to a disconnected user.
You should use a different approach where you first send the message to the user and the you kick him.

Cheers