Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Request] bs_request  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

David

  • Anope User
  • Offline Offline
  • Posts: 1
[Request] bs_request
« on: January 21, 2012, 02:35:18 PM »

Hello, I'm sorry but my ingilsh is very bad ! Sorry if i seem rude :/ !
My request is as hs_request but we do not ask a vhost but a bot for its channel

syntax: /bs request aliasofbot #channel

As hs_request, the list of staff or list of hostsseterrs, a memo will sent to all
list of staff or list of hostsetters !

But before to send the memo, one verification is obligatory.
This verification will to ask to ChanServ if this person is the founder of #channel

If aliasofbot is not already taken and if #channel is the channel of this personne
then can send memo a the list.

If you have not understood, I give you examples !

/bs request anope #mychan

[NOTICE] BotServ: Sorry but bot anope is already request or taken

/bs request myself #mychan

[NOTICE] BotServ: Your request has been sent to all staff

/bs request myself #notmychan

[NOTICE] BotServ: Sorry but you're not founder of #notmychan

Create too command /bs activate and /bs reject.
/bs activate PSEUDO or /bs activate #CHANNEL or too /bs activate ALIASOFBOT

/bs activate DIRECTIVE will add the bot requested on botlist and assign this bot on the #channel

Thank you !

Obviously if the person is not registered with nickserv, it does not show and is the owner of any salon, which will cause a notice to say that the show wanted is not his
« Last Edit: January 21, 2012, 02:44:51 PM by David »
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 182
    • French Eggdrop community
Re: [Request] bs_request
« Reply #1 on: January 25, 2012, 08:19:29 PM »

So, you want a kind of alias to /msg botserv assign, but it must check if the bot doesn't exist (??? you'll have a lot of service bots) and send a request to a service admin ?

Sorry, but seems silly imho.

Justin Crawford

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Flux-Net
Re: [Request] bs_request
« Reply #2 on: February 07, 2012, 11:53:17 PM »

Not sure if this is what you want, but I made it in a few minutes: http://modules.anope.org/index.php?page=view&id=248
Logged
throw CoreException("You FAILED!");
Pages: [1]   Go Up