Page 1 of 1

Making a bot a network service

Posted: Thu May 26, 2005 6:36 pm
by Datsund
I hope somebody knows the answer to this obscure question.

Can somebody please tell me how to make an IRC Operator look like a service? I am basically wanting to make my bot, look like an IRC service (below).

Somebody told me there was something I could change in the oper block, but I don't know what to add.

*** Bot is [email protected]
*** Bot is «The Bot»
*** Bot on irc.blabla.net
*** Bot is a Network Service
*** Bot is using a registered nickname

Thankyou.

Posted: Thu May 26, 2005 10:48 pm
by aquanight
Only ulined clients (which must be behind ulined servers) can be marked as a service.

You could use the Swhois line, however.

Posted: Sun May 29, 2005 9:47 am
by w00t
Not in the oper block.

You need to set mode +S on your bot, however that mode can only be set by a ulined connection, so have fun ;)

Posted: Mon May 30, 2005 3:32 am
by Winbots
whats wrong with sending SVS2MODE BOT +S from a ulined server (e.g. services, /os raw SVS2MODE BOT +S)?

title chg: Small Question -> Making a bot a network servi

Posted: Mon May 30, 2005 3:41 am
by Syzop
*changed this wonderful title to something more meaningful*

Posted: Mon May 30, 2005 5:39 am
by aquanight
Winbots wrote:whats wrong with sending SVS2MODE BOT +S from a ulined server (e.g. services, /os raw SVS2MODE BOT +S)?
Other than that simply does not work very well? A) RAW is just plain bad, mkay. B) The mode would be "invalid" and unreal will just take it away at the next opportunity.

Posted: Wed Jun 01, 2005 12:40 am
by w00t
Actually I don't think it will take it away, as it really doesn't do anything from memory. The checks are for uline, I think there's only one or two (I've set myself as a service bot before ;)).

As for whats wrong with it, uh, services won't know you have +S. Depending on what services do, and how the ircd treats services clients, this could cause fun things to happen.

Posted: Wed Jun 01, 2005 4:20 am
by aquanight
Actually it will take it away on the next MODE change.

Posted: Sat Jun 04, 2005 8:02 am
by w00t
Ok, perhaps so. Given how rare mode changes are though... ;p

I'm still not going to recommend it.