Anope IRC Services

Anope Development => Modules => Topic started by: fusa on October 01, 2008, 01:47:15 AM

Title: inject
Post by: fusa on October 01, 2008, 01:47:15 AM
I recently switched to anope from cygnus irc services.  one thing I miss is the "/rootserv inject" command.  The command basically injects a command from the founder as if another bot, user, etc performed the command. For example the following could force an eggdrop bot to register it self:

/rootserv  inject :EggdropBot PRIVMSG Nickserv :register password email@addr.ess

I realize that this command can be done in eggdrop.conf but its just used as an example.
Title: Re: inject
Post by: Trystan Scott Lee on October 01, 2008, 02:29:54 AM
Sounds a lot like "raw" to me.. of which I am against.. so this is better as a mod if some cares to rip the code from Cygnus (if you can still find it.. its been dead so long)
Title: Re: inject
Post by: Jobe on October 01, 2008, 08:44:12 AM
Trystan, it's LIKE raw, only it's from another angle, it's a raw where the message is sent TO Anope not FROM Anope.

And to be honest, isn't required but could probably be done as a third party module.

Frankly I'm of the opinion, if you're too lazy to setup your bots properly, then you probably shouldn't be running a bot in the first place.
Title: Re: inject
Post by: katsklaw on October 01, 2008, 10:47:40 AM
1> opers shouldn't be using such commands FOR real users, they will learn nothing.
2> opers shouldn't be using such commands imposing as real users, it pisses them off and they'll leave.
3> If you want it to use with your bots, stop being lazy and use the conf/partyline. coders are not here to write modules to do something your bot is more than capable of just because you don't feel like it.
Title: Re: inject
Post by: fusa on October 01, 2008, 02:24:26 PM
Unfortunately not all bots have the ability to modify permissions by channels.  Denora for one.
Title: Re: inject
Post by: Jobe on October 01, 2008, 03:08:27 PM
Denora, if ulined, and ulined in Anope can do what it pleases, and hell you can even see in #anope it DOES do as it pleases.

Plus a simple module can be written for Denora to identify it to Anope
Title: Re: inject
Post by: Jan Milants on October 01, 2008, 04:57:04 PM
to force someone to identify there is a module called forceid, and if you want something similar for other commands, those too should be done using seperate modules.
Anope should not have to parse a command from a user that makes it pretend as coming from another user.. for starters the reply will be send to the wrong user and it s imho just a stupid hack.. the ability to pretend to be someone else is like adding a command with a big label "abuse me"..