Invite script v1.0
; Invite Script v1.0 - by entropy 2020 - updated: 6/19/20
; Change: \"#test\" to the channel you want it to work on
; Then: !i <nickname>
; RAWs for /INVITE
raw 443:*:{ if (%x_nick) { .notice %x_nick $2 is already on $3 | halt } }
raw 341:*:{ if (%x_nick) { .notice %x_nick $qt($2) has been invited to $3 | halt } }
raw 401:*:{ if (%x_nick) { .notice %x_nick No such nickname $qt($2) on IRC | halt } }
; Events for /INVITE
on *:input:#test:{ if (!i * iswm $1- && $server) { doinvite $2 $me } }
on *:text:!i *:#test:{ doinvite $2 $nick }
; Alias
alias -l doinvite {
if ($me !isop $chan) { .notice $2 I am not a channel operator on $chan }
else { set -u3 %x_nick $2 | invite $1 $chan
Comments 0