Bot = "HubListBot" --//Change To whatever you want
--// This function is fired at the serving start
function Main()
frmHub:RegBot(Bot)
end
Prefix = {}
Prefix["+"] = 1
Prefix["!"] = 1
Prefix["."] = 1
Prefix["?"] = 1
Prefix["?"] = 1
--// This function is fired when a new data arrives
function DataArrival(curUser, data)
data = strsub(data, 1, strlen(data) -1)
local _,_,cmd=strfind(data, "%b<>%s+(%S+)")
if cmd ~= nil then
if Prefix[strsub(cmd, 1, 1)] == 1 then
cmd = strsub(cmd, 2, strlen(cmd))
if cmd == "hublist" then
curUser:SendPM(Bot,"\r\n"..
" Many people seems to have problem with the hublist,\r\n"..
" All you need to do is change it...\r\n"..
" Paste One of following adresses in\r\n"..
" File > Settings > Downloads > Publichub list\r\n"..
" Do not Paste it in the Http Proxy (hublist only)!\r\n"..
"\r\n"..
" http://www.hublist.org/PublicHubList.xml.bz2 (orginal adress)\r\n"..
"\r\n"..
" http://dreamland.gotdns.org/PublicHubList.config.bz2 (alternative 1)\r\n"..
" http://wza.digitalbrains.com/DC/hublist.bz2 (alternative 2)\r\n"..
" http://www.1stleg.com/PublicHubList.config (alternative 3)\r\n"..
" http://www.p2pitalia.com/dclist/Publichublist.config.bz2 (alternative 4)\r\n"..
"\r\n"..
" Here are even more Hublists\r\n"..
"\r\n"..
" http://fi.hublist.org/PublicHubList.config.bz2\r\n"..
" http://www.butcher.times.lv/hublist.txt\r\n"..
" http://members.lycos.co.uk/lomiks/dcpp.config\r\n"..
" http://www.team-ppm.com/~dawson/PublicHubList.config\r\n"..
" http://setubal.fw.nu/PublicHubList.config\r\n"..
" http://pocmin.sourceforge.net/rooms.config\r\n"..
" http://www.dc.nzgames.co.nz/publichublist.config\r\n"..
" http://moria.pedher.net/dc/mirror/PublicHubList.config.bz2\r\n"..
" http://biblioteka.nm.ru/hublist.txt\r\n"..
" http://www.galy.szm.sk/CZHubListON.config\r\n"..
" http://nervgaz.ath.cx/asgardlist.config\r\n"..
" http://www.undertexter.se/hublist.bz2\r\n"..
" http://gb.hublist.org/PublicHubList.config.bz2\r\n"..
" http://dcgui.berlios.de/PublicHubList.config.bz2\r\n"..
"\r\n"..
" If you want you can use all of them,\r\n"..
" just paste the 1st adress then write a ;\r\n"..
" then paste next adress, if you want one more,\r\n"..
" write another ; then paste next adress...\r\n"..
"\r\n"..
" Example..\r\n"..
" http://www.hublist.org/PublicHubList.xml.bz2;http://dreamland.gotdns.org/PublicHubList.config.bz2;http://wza.digitalbrains.com/DC/hublist.bz2\r\n"..
"\r\n"..
" Then copy that, go to\r\n"..
" File > Settings > Downloads > Publichub list\r\n"..
" and paste the whole line there...\r\n"..
"\r\n"..
" And Then open the public hub list window\r\n"..
" if get dlownload failed, press refresh\r\n"..
" then wait untill you get the list, if it fails again\r\n"..
" just hit refresh again\r\n"..
"\r\n"..
" By pressing refresh it circels throug the list\r\n"..
" of adresses you pasted...\r\n")
return 1
end
end
end
end
Just a little script i made for my hub....
Thought i would share it... Many ppl have problem with the hub list now days...
thx for the info madman , definite gonna use this layout in my hublist command , i only have a bunch of url's now :) .. and really nice with the small how-to
Typhoon?
uhm .. y not put that info in a file and read it out from there ?
Nice hints ...
* texter bot ...
* ReadFile function from the Scripting Utilities Central thread of the HOW TO section of the forum ...