edit in m_whois.c for whois

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

Post Reply
erkut79
Posts: 20
Joined: Thu Jun 09, 2016 2:16 am

edit in m_whois.c for whois

Post by erkut79 »

move oper line in whois to unreal 3.2 ?

unreal 4 is
Jr is an IRC Operator (Jr) [netadmin]

but users see only
Jr is an IRC Operator

any edit for this to unreal 3.2 ?
Jr is a Network Administrator
or
Jr is an IRC Operator - Network Administrator
rcschaff
Posts: 53
Joined: Sun Jan 15, 2017 5:06 pm

Re: edit in m_whois.c for whois

Post by rcschaff »

You could use the custom swhois in the oper block
oper::swhois


swhois "is a Network Administrator";
erkut79
Posts: 20
Joined: Thu Jun 09, 2016 2:16 am

Re: edit in m_whois.c for whois

Post by erkut79 »

swhois "is an IRC Helper";

using Helper on swhois :S
Unreal 4 not have +h mode :S
rcschaff
Posts: 53
Joined: Sun Jan 15, 2017 5:06 pm

Re: edit in m_whois.c for whois

Post by rcschaff »

you can have multiple swhois in unrealircd4. so you can have

swhois "is a Network Administrator";
swhois "is available for help";


Ex:
My Config...
oper cards {
mask *;
password "(Hidden)" { sha1; };
class opers;
operclass netadmin-full-override;
vhost "NetAdmin.420-HighTimes.Com";
swhois "is Co-Owner & Repair Coordinator";
swhois "is a Network Administrator";
};

What IRC Says:

cards is ~[email protected] * cards
cards is using modes +iowsxtD +kcfvGqsob
cards is connecting from *@(hidden) (Hidden)
cards on @#hightimes-lounge @#Staff
cards using whitewidow.420-hightimes.com 420-HighTimes Network
cards is an IRC Operator (cards) [netadmin-full-override]
cards is Co-Owner & Repair Coordinator
cards is a Network Administrator
cards has been idle 74hrs 32mins 46secs, signed on Sun Jan 15 20:33:06 2017
cards End of /WHOIS list.
Post Reply