Deny (for on [..] request)
This is for Relay Server. Blue Server has the same action which allows you to customize the message, here, and you can automate the deny/allow process under its Enable/disable conditions actions.
This action allows you to deny the response with a generic 'request denied' message.
It does not allow you to set the deny reason message, and will use one of the following:
- Connection denied message: "Connection refused by server"
- Name set/change denied message: "Name refused by server"
- Join channel denied message: "Join refused by server"
- Leave channel denied message: "Leave refused by server"
You should only run this in response to one of these events:
- Connection > On connect request
- Client > On name set request
- Channel > On join request
- Channel > On leave request
If you use a deny request in a non-interactive or the wrong interactive event (e.g. channel messages), nothing will happen.
If you don't run a deny, the request will be approved once all the event lines finishes executing.
For Blue, the handling is more interesting, and you should view the links above.