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>;
};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;
};
};