All pastes #754208 Raw Edit

Something

public text v1 · immutable
#754208 ·published 2007-10-29 21:20 UTC
rendered paste body
#Set your channel name Here
set voicechan "#mIRCpending"

bind join - * join_atvoice

proc join_atvoice {nick uhost hand chan} {

        global botnick voicechan
        if {([lsearch -exact [string tolower $voicechan] [string tolower $chan]] != -1)} {
                if {[isop $nick $chan]} {return}
                putserv "NOTICE $nick :- X - Hi, I'm just checking some things, if you are logged into your username I will voice you in a moment,
               if not, please Try #Usernames instead or http://cservice.undernet.org/live/newuser.php"
       }
}



## The channel where you want the script to be active
set vchan #mIRCpending

bind join - * join_voice_utimer_10
proc join_voice_utimer_10 { nick host hand chan } {

        global vchan
        global botnick
        if {![string match -nocase "*.undernet.org" $host]} {
        pushmode $vchan +b $nick
        puthelp "NOTICE $nick :- X -You do not have +x mode. Only *.users.undernet.org can get +v on $vchan .Please join #Usernames and ask help
         regarding registering an username."

        return 1
        }
        pushmode $vchan +v $nick
        puthelp "NOTICE $nick :- X - Hi, Please just ask your question without colours, bold, underline, and mind your language (type !menu to see
            all public commands for $chan)"
        return 1
}