This first set of directives are essnetial because any valid services.conf must have at least one of each for services to fully function.
Host configuration (H line): A H directive (also called H line) contains the name of the services server. Example:
H:services.sorcery.net
Port configuration (P line): A P directive tells services what port on the IRC server to connect to (the port number ircd listens on). Example:
P:6667
Password configuration (W line): A W line tells services what password to use when connecting connect to an IRC server.
IRC Server configuration (C line): A C line tells services the address of the IRC server to connect to (note, the IRC server must have a C-line and a N-line for services using a password specified in the services W line for services to connect to IRC.) Example:
C:127.0.0.1
Services client configuration (XX lines):
An ON-line tells services what OperServ's nickname should be
An OU-line tells services what OperServ's username should be
An OH-line tells services what OperServ's hostname should be
An OR-line tells services what OperServ's realname should be
An OM-line tells services what OperServ's usermode should be
Nx, Cx, Mx, and Ix are the same respectively for NickServ, ChanServ, MemoServ, and InfoServ. (NN/NU/NH/NR/NM/CN/CU/CH/...)
Example:
C:localhost ### OperServ ### ON:OperServ OU:warlock OH:sorcery.net OR:Operator Services OM:+oi ### NickServ ### NN:NickServ NU:sorceress NH:sorcery.net NR:Nickname Services NM: ### ChanServ ### CN:ChanServ CU:wizard CH:sorcery.net CR:Channel Services CM: ### MemoServ ### MN:MemoServ MU:witch MH:sorcery.net MR:Memo Services MM: ### InfoServ ### IN:InfoServ IU:sorcerer IH:sorcery.net IR:Information Services IM: