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
The answer is simple. Cant be Done!
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
The server, aka ptokax or whatever,cant change ANY, client settings
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?
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.
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.
nicely explained!
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.
Everybody, thanks lot for explaining. Now i understand it perfect.