adding /command?

These are old archives. They are kept for historic purposes only.
Post Reply
quile

adding /command?

Post by quile »

I have a little private network, with password protection

I wanted to know, how i can add a command.

Someting like the /rules command

I want to add someting like /ircpass and it shows the pass of the network.

So when I change the pass of the network, i dont have to send out a notice or msg everyone.

thanks
SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Post by SpaceDoG »

Why not just add the current pass/upcoming pass to the ircd.motd file? That is after all what the MOTD is for.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

Or if youre using Services you could add it to the logon news. For example as with Anope use: "/msg OperServ logonnews add MESSAGE"
Ron2K

Post by Ron2K »

If you still want to add your own command, write your own module.

I would give preference to the two solutions above, however.
Grunt
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm
Contact:

Post by Grunt »

Actually, for your own command, you only need the alias block. You can use it to make a custom /ircpass command, which passes it to a bot, which in turn notices the password back to the user.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
Post Reply