Bot - Add new Hub
 

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

Bot - Add new Hub

Started by JaPaja, 11 November, 2006, 10:56:34

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JaPaja

Hi,

can anyone help me with this bot? I need bot, that should do this, when new user connect:

New user enter "HubA"
Bot check if user has "HubA" in favorites and set automaticly connect to hub.
If yes, skip this step.
If not set, add new hub and make choice automaticly connect to "HubA".
Bot check if user has "HubB" in favorites and set automaticly connect to hub.
If yes, skip this step.
If not set, add new hub and make choice automaticly connect to "HubB".

And that is all.
Is it possible, that bot can restart your client?
If you ask why I want support HubA and HubB, reason is, taht we have cooporate between hubs.

Thanks lot

JaPaja

Dessamator

The answer is simple. Cant be Done!
Ignorance is Bliss.

JaPaja

Hi,

i want ask. Why? Where is problem? It is same lika adding hub to favorites by "+fav" bud only automaticky. Or do you answer me to questiion about restarting client?

JaPaja

Dessamator

The server, aka ptokax or whatever,cant change ANY, client settings
Ignorance is Bliss.

JaPaja

I'm sorry, but me beginner,  i can not see any diferent between my command +fav and automatic function fav. I see taht procedure of both bots are similar. Should you at least meke bot, that check your favorite hubs and if there is one missing, it will add him with choice automaticly connect?

Dessamator

Well, as a beginner it will be hard for you to understand, the client aka dc++, strongdc, etc cannot be changed in any way by a server excluding right click commands, which can be sent by the server.The only reason the +fav works, is because ur client has that command inbuilt, which cant be changed.
Ignorance is Bliss.

bastya_elvtars

To explain:
The /fav command does not get sent to the hub, it gets processed by the client itself, while the !help or any imilar command gets sent to the hub and gets processed by it. It is the matter of the client's knowing (thus 'swallowing') the command or passing it to the hub.
Everything could have been anything else and it would have just as much meaning.

Dessamator

Ignorance is Bliss.

Dessamator

Indeed, besides the fact that the client wont allow you, it is indeed an invasion of privacy,a user should be able to choose what hubs he does or doesnt want, heck, he can even choose if he wants to accept RC commands from a hub.So even if it could be done, personally i would be inclined not to do it.
Ignorance is Bliss.

JaPaja

Everybody, thanks lot for explaining. Now i understand it perfect.

SMF spam blocked by CleanTalk