[IRCServices Coding] ns amodes

Craig Edwards brain at winbot.co.uk
Sun Feb 22 07:30:19 PST 2004


Hi, just had this interesting feature request on our network.

Would it be possible in a future version to implement an /ns amodes, which would basically be like /ns ajoin but setting of default modes on a registered nick instead?

for example:

/ns set modes +iws

then when the user connects,

[services.mynet.net] sets mode nickname +iws

Of course, there would have to be careful checking of this mode string, to make sure that nobody inserts +o or whatever into it! I guess if one person requests it, its got a use for more than one, and its a clever idea as it takes the need to do this away from the client, i guess it could easily be made a nickserv module, so that those who dont want it wouldnt load it :-)

Thanks, Brain