O-Flags Old way to set

These are old archives. They are kept for historic purposes only.
Post Reply
Alex
Posts: 88
Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden

O-Flags Old way to set

Post 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
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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";
};
Alex
Posts: 88
Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden

Post by Alex »

Many thanks for your help Jobe1986. Changed it all and it works. :wink:
Post Reply