I have a channel with Invite mode (+i) set. So when a user disconnects or times out/pings out and they need to rejoin the channel, i wrote up this little script to allow them to query/msg me with prompt "!invite" and if their nick is on the nick allow list they will be invited to the channel. It will also announce to the channel the user being invited.
As far as i know, i havent seen a script like this around, if there is one (i sure its better than mine =P ), i am unaware.
Unlike other scripts this one invites via query/msg.
!!Like my other scripts this one is only useful if you have a small number of channel members, and if their nicks remain the same (though you can add their other nicks to the nick list).!!!
REPLACE:
NICK : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
NICK1 : WITH ANOTHER CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
NICK2 : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
(EXCLUDE ALL WHEN REPLACING REQUIRED VARIABLES)
;;;;;;;;;;;;;;;;;;;
;;Invite on Query;;
;;;;;;;;;;;;;;;;;;;
; I have a channel with Invite mode (+i) set.;
;So when a user disconnects or times out/pings;
;out and they need to rejoin the channel, i;
;wrote up this little script to allow them to;
;Query/msg me with prompt "!invite" and if their;
;nick is on the nick allow list they will be;
;invited to the channel. It will also announce;
;to the channel the user being invited.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;REPLACE:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;#*YOURCHAN* : #YOUR.CHANNEL'S.NAME;
;*NICK* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL);
;*NICK1* : WITH ANOTHER CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL);
;*NICK2* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL);
;(EXCLUDE ALL * * WHEN REPLACING REQUIRED VARIABLES);
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;Created By DJ Zacharia;;;;;;;;;;;;;;;;;;;
;;;Feel Free to change, just give me;;;;;;;;;;;
;;;;;;;;;;;;;recognition;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;13.10.07;;;;;;;;;;;;;;;;;;;;;;;;
on *:text:!invite *:?:{
if ($me isop #*YOURCHAN*) {
if ($nick == *NICK*) || ($nick == *NICK1*) || ($nick == *NICK2*) {
invite $nick #*YOURCHAN*
msg #*YOURCHAN* 11...::: 4-=3 $nick 4=- Invited Himself Here 11:::...
}
}
}