Code: Select all
if {![info exists serverSocket]} {
set serverSocket [socket -server main -myaddr $botlisten(ip) $botlisten(port)]
}
Code: Select all
set serverSocket [socket -server main -myaddr $botlisten(ip) $botlisten(port)]
Code: Select all
bind cron - "*/15 * * * *" change:nick
Code: Select all
set found ""
foreach item "a b c d" {
if {[lsearch -exact "e f a g b" $item] != "-1"} {
lappend found $item
}
}