Page 1 of 1

O-Flags Old way to set

Posted: Thu May 11, 2006 4:16 pm
by Alex
Hello,

For my ops, I want to use the old way to set flags, and I have been looking into the manual for setting these, and I find this:

Code: Select all

oper <name> {
	from {
		userhost <hostmask>;
		userhost <hostmask>;
	};
	password <password> { <auth-type>; };
	class <class-name>;
	flags <flags>;
	flags {
		<flag>;
		<flag>;
		...
	};
	swhois <whois info>;
	snomask <snomask>;
	modes <modes>;
	maxlogins <num>;
};
I'm here not sure where I set the flags eg: OaA and so on and what I eventually have to remove. Could someone help me out here :?:

Below is the way I have set it by now:

Code: Select all

oper MyNick {
        class           clients;
        from {
                userhost *@*.myhostname;
        };
        password "password";
        flags
        {
                netadmin;
                admin;
                services-admin;
                can_rehash;
                can_die;
                can_restart;
                helpop;
                can_wallops;
                can_globops;
                can_localroute;
                can_globalroute;
                can_localkill;
                can_globalkill;
                can_kline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                can_zline;
                can_gkline;
                can_gzline;
                get_umodew;
                get_host;
                can_override;
                can_setq;
                can_dccdeny;
        };
};
Thanks

Posted: Thu May 11, 2006 4:42 pm
by Jobe
The following is an example using the flags you have used above of how to set using the old flags:

Code: Select all

oper MyNick { 
        class           clients; 
        from { 
                userhost *@*.myhostname; 
        }; 
        password "password"; 
        flags "NAarDRhwgcLkKbBnGztZWHvqd";
};

Posted: Thu May 11, 2006 5:25 pm
by Alex
Many thanks for your help Jobe1986. Changed it all and it works. :wink: