Hi, i was wondering is it possible in tcl that user type !help in the channel, and bot give the channel site link and then user just click on the link to get there? example will be appreciated.
bind pub - !help pub:help
proc pub:help {nick uhost hand chan text} {
set line [split $text]
set word [lindex $line 0]
if {$word == "botnet"} {
putserv "PRIVMSG $chan :visit http://www.egghelp.org/enhance.htm for help about $word"
} elseif {$word == "eggdrop"} {
putserv "PRIVMSG $chan :visit http://www.egghelp.org/setup.htm for help about $word"
} else {
putserv "PRIVMSG $chan :please specify one of the available help categories"
}