Tjoo..
setudef str news
#Set news - You need +nm on channel, or global.
bind pubm nm|mn !setnews setnews
proc setnews {nick host hand chan text} {
set news [channel get $chan news]
if {$text == ""} { putserv "NOTICE $nick :News is currently set to: $news
} else { channel set $chan news $text
putserv "NOTICE $nick :News is now set to: $text
}
}
#See news - You dont need any flags.
bind pubm nm|mn !news news
proc news {nick host hand chan text} {
set news [channel get $chan news]
if {$text == ""} { putserv "NOTICE $nick :News on $chan is: $news
} else { return }
}
Commands !setnews <text here> - Sets news.
!setnews <> - Show what the news is.
!news <> - Shows news.
Sumsar er buttet. Hansa er idiot. Drax er lilla.