- ; This is a small snippet that i was asked to write a while
- ; ago for a friend. If you are kicked, it msg's X to see
- ; their access.
- on *:kick:#: {
- ; Okay, first we check to see if the kick was by X
- if ($nick == X) {
- ; Now we check to see if X is on that channel.. should
- ; be if X kicked you, but this just saves hassle if not=P
- if (X ison $chan) {
- ; This will set the variable %thisnick to the
- ; actual nickname $1 will be (nick) so all we
- ; do, is use $left and $right set as -1 to strip
- ; the end charactors off the nickname. This was a
- ; stupid thing no to realise, and i tried like 5
- ; million things beforehand=P
- .set %thisnick $right($left($1,-1),-1)
- ; Just to let you know whats going on
- ; Now lets message X and find out who it was..
- }
- }
- }
Code / mIRC / Auto Check Access Upon X Kick
Download as Text : January 6th, 2009
This work is licensed under a