View Single Post
Old 12-19-2003, 11:18 PM  
nrgetik
Junior Member
 
Join Date: Nov 2003
Posts: 10
Default my idea

i have thought of something if your on a slow connection you would hate how when in irc u do !help it takes forever and cant do a command after that untill its done so i thought of this, and also i was thinkg if u can make this idea somehow optional into ur next version it would be great for slow and fast users atleast i think well here is teh code, it pu the help file into html of course you have to be running the http service for it to work ok..

################################################## #######
# HELP SECTION #
################################################## #######
proc proc_help {nick uhost hand chan arg} {
global sections cmdpre dver
if {![file exist scripts/dZSbot.help]} {
putquick "PRIVMSG $nick :dZSbot.help is missing in your windrop/scripts dir please check install"
return
}
putquick "PRIVMSG $chan :\[[b][c]10HELP[c][b]\] [c]15+ www.yourdomain.com/help.txt"
}
putlog "Launching sitebot (v$dver) for ioFTPD..."
readlog
readlogcheck
putlog "Sitebot online!"

for this to work u must also have to add a help.txt in ur ../text/http

thats it i think, hope u find my idea usefull. thx

NRG~
nrgetik is offline   Reply With Quote