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.