1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-06-28 14:16:07 +02:00

Allow hooking to any IRC command

This commit is contained in:
ShadowNinja
2014-02-26 14:23:20 -05:00
parent 592a049027
commit 7e2c85764b
4 changed files with 36 additions and 30 deletions

View File

@ -142,6 +142,7 @@ function irc:shutdown()
-- <li><code>OnUserMode(modes)</code></li>
-- <li><code>OnChannelMode(user, channel, modes)</code></li>
-- <li><code>OnModeChange(user, target, modes, ...)</code>* ('...' contains mode options such as banmasks)</li>
-- <li><code>DoX(user, ...)</code>'X' is any IRC command or numeric with the first letter capitalized (eg, DoPing and Do001)</li>
-- </ul>
-- * Event also invoked for yourself.
-- <20> Channel passed only when user tracking is enabled