Chain Posted December 21, 2020 Report Posted December 21, 2020 ; 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 } }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now