Page 1 of 1

the flag -h

Posted: Wed Oct 12, 2005 11:08 pm
by cculha
hi . in my server i tired all the way. i want to be netadmin but i don't want to be a helper when i enter the /oper. how can i do that. but i don't want set umode -h after the oper. i only wanted to enter the /oper and only seen netadmin. thank you.

Posted: Thu Oct 13, 2005 1:09 am
by aegis
Hi. Try adding the following line to your oper block. I'm not positive, but I think it will work.

modes "-h";

Posted: Thu Oct 13, 2005 2:19 am
by Solutech
Firstly this belongs in support not modules .

Helpop or +h is given automatically on /oper .

to remove it you cant simply drop -h into your oper block .
The oper::modes directive allows you to preset an oper's modes on oper up. [optional]
HINT - Read the docs - HINT

This is basic info , we are not here to spoon feed you answers when it is supplied in the docs that came with the software .

Posted: Thu Oct 13, 2005 2:36 am
by aquanight
*moved*

Posted: Thu Oct 13, 2005 3:34 am
by w00t
I'm not sure about adding -h to the oper::modes, but adding +H should work..

Posted: Thu Oct 13, 2005 7:01 am
by Stealth
w00t wrote:I'm not sure about adding -h to the oper::modes, but adding +H should work..
-h in modes works fine :)

Posted: Thu Oct 13, 2005 8:27 am
by cculha
i am adding -h in oper modes but it don't works...

Posted: Thu Oct 13, 2005 9:44 am
by Solutech
post up your operblock with the password *'d out and let us take a look at it .

Posted: Thu Oct 13, 2005 1:01 pm
by Syzop
Removing of any mode does not work in oper::modes.

technical:

Code: Select all

oper->modes = set_usermode(cep->ce_vardata);
which is a bitmask of modes to add.

Posted: Sun Jun 11, 2006 10:53 pm
by cculha
syszop. how can i use your technical command?

Posted: Sun Jun 11, 2006 11:21 pm
by cculha
oper cihan {
class clients;
from {
userhost *@*;
};
password "testinglo1";
flags "NDRztZWHvXC";
modes "-h";
maxlogins "1";
};


this is my oper block and it still gives me +h