Snippets Project Page
Author: entropy
Added: 3y
Updated: Never
mIRC: v7.55+
Hits: 864
Downloads: 15
Review: westor
Size: 771B
1 0
Login to vote.
Invite Script
v1.0
This script is a bot command to invite someone on channel.
Download
JSON
▲ Review
▼ Source
; 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 } }
Changelog:
0
0
Comments (2)