Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Request]NPC Command/Service Module  (Read 5766 times)

0 Members and 1 Guest are viewing this topic.

Jordan Rema

  • Anope User
  • Offline Offline
  • Posts: 2
[Request]NPC Command/Service Module
« on: September 06, 2009, 05:28:34 PM »

I'm looking for any module for Anope 1.8.2 that creates an NPCServ, or an RPGServ, that has 2 commands,NPC SAY and NPC ACT, or similiar, which would allow users to have messages sent into a channel under another name. I've looked everywhere and can't find anything similar to this. 
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: [Request]NPC Command/Service Module
« Reply #1 on: September 06, 2009, 06:14:23 PM »

You could add a botserv bot with that name and use /bs say which would be effectively the same thing.

It wouldn't be that difficult to implement an act function too I'd guess.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: [Request]NPC Command/Service Module
« Reply #2 on: September 06, 2009, 08:05:32 PM »

It wouldn't be that difficult to implement an act function too I'd guess.
/bs help act  ;)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jordan Rema

  • Anope User
  • Offline Offline
  • Posts: 2
Re: [Request]NPC Command/Service Module
« Reply #3 on: September 06, 2009, 09:18:10 PM »

The thing I am looking for couldn't be emulated by botserv in that way, I don't think, because of the fact that, I'm fairly sure, That changing botserv names would be rather tedious for every NPC(if even possible, I haven't used Anope in a few months, and can't remember). And creating a bot for every NPC is just silly.

I was just hoping there was some way to use a psuedoclient or something to emulate a client that would change username, sendmsg/sendaction into the channel(without being in said channel),revert to its original name.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: [Request]NPC Command/Service Module
« Reply #4 on: September 06, 2009, 10:43:58 PM »

Having Role Played for a number of years on IRC, I understand what your going for. However you are going to run into IRCd protocol issues

Yes Anope could issue a PRIVMSG command to the channel that fakes a user saying stuff. However cause anope sends this to the uplink and the uplink server will check if the user is connected. This is a sanity check in all ircds to prevent a user whom has dropped from sending messages.

Now to get around this issue, a "psuedo" bot or bots could connect to the network, say as NPCbot1 etc, they then could get a command like

/npc NICK npcbot1 GoblinWarrior

this would change the nick. Then you could still issue

/npc SAY|ACT npcbot1 message

If done right you would not need to remember what each was called.

Willing to do the work but it will cost you a small amount. Please send me a privmsg if you are still interested
   
Logged
my God my tourniquet, return to me salvation
Pages: [1]   Go Up