is there a way to add a custom block for helpop class as opposed to putting in opers.
i would like a helpop class where i can only give them the ability to local/global kill only and not have any other oper flags when they log on..
can this be done and how please. i am using 3.2.8.1 with anoper 1.8.5
custom block wanted
Re: custom block wanted
Simplest method to do this is simply give them can_localkill and can_globalkill with NO other flags (eg NO netadmin, services-admin, coadmin, admin, global or local).
Note however that Unreal will give you a warning at /rehash and startup if can_globalkill is included (or any flag that does anything that is not local to the server to which the user /oper's, which can be ignored, and the user will appear as a global oper (if he/she can global kill) or a local oper in /whois, and will still be able to see some privileged information such as server notices, /stats and real IPs. But other then that the oper will ONLY be able to /kill
Note however that Unreal will give you a warning at /rehash and startup if can_globalkill is included (or any flag that does anything that is not local to the server to which the user /oper's, which can be ignored, and the user will appear as a global oper (if he/she can global kill) or a local oper in /whois, and will still be able to see some privileged information such as server notices, /stats and real IPs. But other then that the oper will ONLY be able to /kill
Your IP:
Your Country:
Your Country:
Re: custom block wanted
thats what i did on the operblock
but then when i asked him to /oper nick password.. this is what appeared when i whois'd him
which is +ogsW extra. i know the +o denotes the operblock
as a normal user his Modes are: +iwrhxtpX .. ignore the +X as that is m_adult.
<10:40pm> O *@* * xxxxx hgwkK opers <-- from stats ooper xxxxx {
class opers;
from {
userhost *@*;
};
password "xxxxxxxxx";
flags {
helpop;
can_wallops;
can_globops;
can_localkill;
can_globalkill;
};
swhois "is cqchat HelpOp";
snomask cefFjks;
};
but then when i asked him to /oper nick password.. this is what appeared when i whois'd him
the flags given is what confused me ... <10:42pm> {- Modes: +iowghrsxWtpX +kcfFjes -}<10:42pm> {- Whois for xxxxxx -}
<10:42pm> {- NickName: xxxxxxx -}
<10:42pm> {- Real Name: No -}
<10:42pm> {- Ident: groovy -}
<10:42pm> {- Address: *!*@helpop.cqchat.co.in -}
<10:42pm> {- Modes: +iowghrsxWtpX +kcfFjes -}
<10:42pm> {- Hostmask: *@xx.xx.xx.xx -}
<10:42pm> {- IP: xx.xx.xx.xx -}
<10:42pm> {- Registered Nickname: Yes. -}
<10:42pm> {- Channels: #opers %#cqchat @#help -}
<10:42pm> {- Server: cqchat.co.in -}
<10:42pm> {- Description: Private Server -}
<10:42pm> {- Network Rank: IRC Operator -}
<10:42pm> {- IRC Helper: Yes. -}
00<10:42pm> xxxxx is cqchat HelpOp
<10:42pm> {- Signed on at: Monday 10/10/2011 18:29:21pm -}
<10:42pm> {- Time Idle: 47secs -}
<10:42pm> {- Time Online: 1day 4hrs 13mins 16secs -}
<10:42pm> {- End of Whois -}
which is +ogsW extra. i know the +o denotes the operblock
as a normal user his Modes are: +iwrhxtpX .. ignore the +X as that is m_adult.
Re: custom block wanted
OK, try not to confuse user modes with oper block flags as they are not the same thing. For example for "global" the flag is "O" but the mode is "o", and for local they're the other way around. So the flags in the flags field do not directly relate to the user modes the user gets but instead privileges granted internally.
So for the modes he gets, they are g=can send and receive globops and locops, s=receive server notices (as specified by the snomask list in the oper block), and W=lets you see when someone /whois' you.
He got +g because he has can_globops (g) and +s because he has snomask set in his oper block. +W is ONLY given automatically by get_umodew (W) which he doesn't have so he simply set that himself.
So for the modes he gets, they are g=can send and receive globops and locops, s=receive server notices (as specified by the snomask list in the oper block), and W=lets you see when someone /whois' you.
He got +g because he has can_globops (g) and +s because he has snomask set in his oper block. +W is ONLY given automatically by get_umodew (W) which he doesn't have so he simply set that himself.
Your IP:
Your Country:
Your Country:
Re: custom block wanted
can i remove that get_umodew for helpops then as i dont really want the helpop to have that function if can help it
or do i need to edit modes on oper on the set block and add only the +W to the operblock for each oper ???
or do i need to edit modes on oper on the set block and add only the +W to the operblock for each oper ???