Page 1 of 1

adding a whois line

Posted: Thu Aug 18, 2005 11:36 am
by mike382
is there a way to add a line to the whois reply if the user has a certain usermode?
i know how to make usermodes and all that, i just want to know if its possible to do for example:

someguy sets mode +L
someone whoises someguy
someguy is blah
someguy using server
etc.
someguy has umode L

without editing the source. thanks

Posted: Thu Aug 18, 2005 8:14 pm
by Stealth
You would need to either edit the source, or make a module that completely rewrites the WHOIS command.

Posted: Fri Aug 19, 2005 12:50 am
by w00t
No, it *might* be possible to sorta do it using a hooktype on whois. Not sure whether the line'd appear before, during, or after the rest of the whois however ;P