Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Kick counter #28

Open
StormBytePP opened this issue Sep 3, 2017 · 1 comment
Open

Suggestion: Kick counter #28

StormBytePP opened this issue Sep 3, 2017 · 1 comment

Comments

@StormBytePP
Copy link

I have very little knowledge of KVS scripting, and did not found anything like this over the internet, but it would be very useful some kind of automatic kick counter, so to use it, you only have to normal /kick and some integer counter is automatically added.
For example:
/kick xxx You are best out
(that turns the message)
yyy has kick xxx from #zzz (You are best out <1278>)

I've tried to look at the events, but all of them seems after server received the kick event so no use, and neither is to make an alias for kick that tries to override original one.

Is this a good idea?

@AndrioCelos
Copy link
Collaborator

Unfortunately you can't override built-in commands with aliases, so there would be two ways to do this:

  1. Use an alias named something like /k
  2. Intercept KICK commands using the OnOutboundTraffic event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants