Noticias:

Conecta vía mIRC en irc.terrachat.cl

Menú Principal

SMILE REPLY

Iniciado por TerraChat, May 12, 2024, 11:19 PM

Tema anterior - Siguiente tema

TerraChat

set rplytimer 3
set chname  "#Channel"

set autorply {
"=;)"
"@;)"
"q;)"
":-)"
":-))"
":-D"
"&:-)"
":-p"
";-)"
";-))"
":-O"
":-1"
}

bind pub - {:)} pub:smile
bind pub - {=:)} pub:smile
bind pub - {=;)} pub:smile
bind pub - {=)} pub:smile
bind pub - {:p} pub:smile

proc pub:smile {nick host handle channel text} {
 global autorply rplytimer chname
 utimer $rplytimer  [list puthelp "PRIVMSG $chname :[lindex $autorply [rand [llength $autorply]]]"]
}
putlog "smile.tcl 0.1 - loaded"