Secured Connect

By YmmaX on Jun 29, 2020

This script prevent to join in the channels, before X login, also connecting with a random nickname.

;###
;# Secured Connect
;# YM] @ UnderNet
;###

ON *:LOAD: {
    .set %channels $$?="#Channel1,#Channel2,#Channel3,etc."
}

on *:START: {
    set %nickname $+(U,$rand(a,z),$rand(A,Z),$rand(a,z),$rand(a,z),N,\,$rand(0,9),$rand(0,9))
}

on *:NOTICE:*:?: {
    if ($nick == X) {
         if ( SUCCESSFUL === $2 ) { 
           .set %xlog in
           /mode $+ $me +ix
         }
    }
}

on *:DISCONNECT: {
    .set %xlog off
}

alias /joinall {
    if (%xlog == in) {
        /join -cn %channels
    }
}

/load -rs securedconnect.mrc

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.