Code: Select all
utimer 2 {putquick "PRIVMSG $chan :text goes here"}
Code: Select all
utimer 2 {putquick "PRIVMSG $chan :text goes here"}
Code: Select all
strftime %d
Code: Select all
strftime %d/%m/%Y
Code: Select all
bind pub -|- !bwusage vnstat
proc vnstat {n u h c t} {
set d [eval exec vnstat -m]
foreach l [split $d \n] {
if [string match -noc *[strftime %b]* $l] {
putserv "PRIVMSG $c :[concat $l]"
}
}
Code: Select all
bind pub -|- !vnstat vnstat
proc vnstat {n u h c t} {
set d [eval exec vnstat -m]
foreach l [split $d \n] {
if [string match -noc *[strftime %b]* $l] {
putserv "PRIVMSG $c :[concat $l]"
}
}
}