HubListBot
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

HubListBot

Started by Madman, 24 October, 2004, 18:46:37

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Madman

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...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Typhoon

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?



Herodes

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 ...

SMF spam blocked by CleanTalk