;Services

menu channel,menubar {
  -
  $iif($network == DALnet && $server,Services))
  .ChanServ
  ..AOP/SOP
  ...AOP List: { cs aop $chan list }
  ...-
  ...Add User: { cs aop $chan add $$?="Name of user/mask to add:" }
  ...Del User: { cs aop $chan del $$?="Name of user/mask to delete:" }
  ...-
  ...SOP List: { cs sop $chan list }
  ...-
  ...Add User: { cs sop $chan add $$?="Name of user/mask to add:" }
  ...Del User: { cs sop $chan del $$?="Name of user/mask to delete:" }
  ..AKick
  ...AKick List:cs akick $chan list
  ...-
  ...Add User:cs akick $chan add $$?="Name of user/mask to add:"
  ...Del User:cs akick $chan del $$?="Name of user/mask to delete:"
  ..Drop
  ...Drop Channel:cs drop $chan
  ..Identify
  ...Identify Channel:cs identify $chan $$?="Enter password:"
  ..Info
  ...Channel Info:cs info $chan
  ..Invite
  ...Invite User:cs invite $chan $$?="Enter user to invite:"
  ..Mass Deop/Kick
  ...Mass Deop:cs MDEOP $chan
  ...Mass Kick:cs MKICK $chan
  ..Register
  ...Register Channel:cs register $chan $$?="Enter password:" $$?="Enter description:"
  ..Set Channel
  ...Channel URL:cs set $chan URL $$?="Enter Website:"
  ...Description:cs set $chan DESC $$?="Channel Description?"
  ...Founder:cs set $chan FOUNDER $$?="New Founder?"
  ...Keep Topic:cs set $chan KEEPTOPIC $$?="ON or OFF?"
  ...Leave Ops:cs set $chan LEAVEOPS $$?="ON or OFF?"
  ...Memo:cs set $chan MEMO $$?="AOP/SOP or FOUNDER?"
  ...Modes:cs set $chan MLOCK $$?="Channel Modes?"
  ...Op Guard:cs set $chan OPGUARD $$?="ON or OFF?"
  ...Ops Ident:cs set $chan IDENT $$?="ON or OFF?"
  ...Password:cs set $chan PASSWD $$?="Old Password?" $$?="New Password?"
  ...Restrict:cs set $chan RESTRICT $$?="ON or OFF?"
  ...Topic Lock:cs set $chan TOPICLOCK $$?="SOP/FOUNDER or OFF?"
  ...Verbose:cs set $chan VERBOSE $$?="ON or OFF?"
  ..Why:cs why $chan $$?="Enter nick:"
  .MemoServ
  ..DALnet News:ms NEWS
  ..Del Memo:ms DEL $$?="Number?"
  ..Forward Memo:ms FORWARD $$?="Nick?" $$?="Password?"
  ..List Memo(s):ms LIST
  ..Purge (Del Memos):ms PURGE
  ..Read Memo:ms READ $$?="Number?"
  ..Send Memo:ms SEND $$?="Nick?" $$?="Message?"
  ..Send Memo (SOP):ms SENDSOP $chan $$?="Message?"
  ..Send Memo (#Channel):ms SEND $chan $$?="Message?"
  ..UnDelete Memo:ms UNDEL $$?="Number?"
  .NickServ
  ..Drop Nick:ns drop $$?="Enter nick:"
  ..Ghost Nick:ns ghost $$?="Enter GHOST Nick:" $$?="Enter password:"
  ..Identify Nick:ns identify $$?="Enter password:"
  ..Info Nick:ns info $$?="Enter nick for INFO:"
  ..Recover Nick:ns recover $$?="Enter Nick to Recover:" $$?="Enter password:"
  ..Register Nick:ns register $$?="Enter a password:" $$?="Enter a VALID email address:"
  ..Release Nick:ns release $$?="Enter Nick to Release:" $$?="Enter password:"
  ..Set Nick Options
  ...Change Password:ns SET passwd $$?="Old Password?" $$?="New Password?"
  ...Email Address:ns set email $$?="Enter email your address:"
  ...Enforce
  ....Turn On:ns set Enforce on
  ....Turn Off:ns set Enforce off
  ...Show Email
  ....Turn On:ns set showemail on
  ....Turn Off:ns set showemail off
  ...No Memo
  ....Turn On:ns set nomemo on
  ....Turn Off:ns set nomemo off
  ...No Op
  ....Turn On:ns set noop on
  ....Turn Off:ns set noop off
  ...URL:ns set url $$?="Enter URL for your nick:"

  $iif($network == Undernet && $server,Services) 
  .X
  ..Part:.msg x part $chan
  ..Set Channel
  ...Autojoin:.msg x set $chan autojoin $$?="ON or OFF?"
  ...Mass DeopPro:.msg x set $chan massdeoppro $$?="Enter a number from 0-7"
  ...No Op:.msg x set $chan noop $$?="ON or OFF?"
  ...Strict Op:.msg x set $chan strictop $$?="ON or OFF?"
  ...Auto Topic:.msg x set $chan autotopic $$?="ON or OFF?"
  ...Description:.msg x set $chan desc $$?="Enter description: (80 character limit)"
  ...Float Limit:.msg x set $chan floatlim $$?="ON or OFF?"
  ...Float Grace:.msg x set $chan floatgrace $$?="Enter a number from 0-19"
  ...Float Margin:.msg x set $chan floatmargin $$?="Enter a number from 2-20"
  ...Float Max:.msg x set $chan floatmax $$?="Enter any number (0 disables floatmax)"
  ...Float Period:.msg x set $chan floatperiod $$?="Enter a number from 20-200"
  ...Keywords:.msg x set $chan keywords $$?="Enter keywords (80 character limit)"
  ...Mode:.msg x set $chan $$?="Enter mode"
  ...URL:.msg x set $chan url $$?="Enter URL(s) for this channel"
  ...User Flags:.msg x set $chan userflags $$?="Enter a number from 0-2"
  ..Userlists
  ...Add User:.msg x adduser $chan $$?="Enter username" $$?="Enter access level"
  ...Clear Mode:.msg x clearmode $chan
  ...Info:.msg x info $$?="Enter username"
  ...Mod Info
  ....Access:.msg x modinfo $chan access $$?="Enter username" $$?="Enter level"
  ....Auto Mode:.msg x modinfo $chan automode $$?="Enter username" $$?="None, Op, or Voice?"
  ...Remove User:.msg x remuser $chan $$?="Enter username"
  ...-
  ...Kick User:.msg x kick $chan $$?="Enter nick or hostmask"
  ...-
  ...Status:.msg x status $chan
  ..Channel Ops
  ...Deop:.msg x deop $chan $$?="Enter nick(s)"
  ...Op:.msg x op $chan $$?="Enter nick(s)"
  ...Invite:.msg x invite $chan
  ...Suspend:.msg x suspend $chan $$?="Enter username" $$?="Enter duration (number D, H, or M)" $$?="Enter level"
  ...Unsuspend:.msg x unsuspend $chan $$?="Enter username"
  ..New Channel Ops
  ...Ban:.msg x ban $chan $$?="Enter nick or hostmask"
  ...Unban:.msg x unban $chan $$?="Enter nick or hostmask"
  ..Channel Regulars
  ...Devoice:.msg x devoice $chan $$?="Enter nick(s)"
  ...Voice:.msg x voice $chan $$?="Enter nick(s)"
  ...Kick:.msg x kick $chan $$?="Enter nick" $$?="Enter reason"
  ...Topic:.msg x topic $chan $$?="Enter topic"
  ..Minimum Access
  ...Banlist:.msg x banlist $chan
  ...Status:.msg x status $chan
  ..Everyone
  ...Access
  ....Username:.msg x access $chan $$?="Enter username"
  ....Minimum Level:.msg x access $chan -min $$?="Enter level number"
  ....Maximum Level:.msg x access $chan -max $$?="Enter level number"
  ....Ops:.msg x access $chan -op
  ....Voices:.msg x access $chan -voice
  ....Regulars:.msg x access $chan -none
  ....Last Modified:.msg x access $chan -modif
  ...Channel Info:.msg x chaninfo $chan
  ...Ban list:.msg x lbanlist $chan $$?="Enter * to see list, or hostmask for specific ban"
  ...-
  ...Languages
  ....Arabic:.msg x set lang . ar
  ....Catalian:.msg x set lang . ca
  ....German:.msg x set lang . de
  ....Danish:.msg x set lang . dk
  ....English:.msg x set lang . en
  ....Spanish:.msg x set lang . es
  ....French:.msg x set lang . fr
  ....Hungarian:.msg x set lang . hu
  ....Italian:.msg x set lang . it
  ....Dutch:.msg x set lang . nl
  ....Norwegian:.msg x set lang . no
  ....Portuguese:.msg x set lang . pt
  ....Romanian:.msg x set lang . ro
  ....Turkish:.msg x set lang . tr
  ...-
  ...Login:.msg x@channels.undernet.org login $$?="Enter username" $$?*="Enter password"
  ...Max Logins:.msg x set maxlogins $$?="Enter a number from 1-3"
  ...MOTD:.msg x motd
  ...Remove Me:.msg x remuser $chan $me
  ...Search:.msg x search $$?="Enter search string"
  ...Set my modes
  ....Invisible:.msg x set invisible $$?="ON or OFF?"
  ...Show Commands:.msg x showcommands $chan
  ...Show Ignore:.msg x showignore
  ...Support:.msg x support $chan $$?="YES or NO?"
  ...Suspend Me:.msg x@channels.undernet.org suspendme $$?*="Enter password"
  ...Verify:.msg x verify $$?="Enter username"

  $iif($network == AustNet && $server,Services))
  .ChanOP
  ..Register Channel:.msg chanop register $chan
  ..Drop Channel:.msg chanop drop $chan
  ..Channel Info:.msg chanop info $chan
  ..Access Channel:.msg chanop access $chan *
  ..Access Nick:.msg chanop access $chan -check $$?="Enter Nickname:"
  ..Adduser:.msg chanop adduser $chan $$?="Enter Nickname"
  ..Deluser:.msg chanop deluser $chan $$?="Enter Nickname"
  ..Setuser Level:.msg ChanOP setuser $chan  $$?="Enter Nickname" Level $$?="Enter level"
  ..Suspend:.msg ChanOP setuser $chan $$?="Enter Nickname" Suspend $$?="Enter Number Of Minutes"
  ..Unsuspend:.msg ChanOP setuser $chan $$?="Enter Nickname" Suspend Off
  ..Prot 
  ...On:.msg ChanOP setuser $chan $$?="Enter Nickname" Prot On 
  ...Off:.msg ChanOP setuser $chan $$?="Enter Nickname" Prot Off
  ..AOP
  ...On:.msg ChanOP setuser $chan $$?="Enter Nickname" AOP On
  ...Off:.msg ChanOP setuser $chan $$?="Enter Nickname" AOP Off
  ..AOV
  ...On:.msg ChanOP setuser $chan $$?="Enter Nickname" AOV On
  ...Off:.msg ChanOP setuser $chan $$?="Enter Nickname" AOV Off
  ..Oprestrict
  ...On:.msg ChanOP set $chan Oprestrict On
  ...Off:.msg ChanOP set $chan Oprestrict Off
  ..MustID
  ...On:.msg ChanOP set $chan MustID On
  ...Off:.msg ChanOP set $chan MustID Off
  ..TellAdd
  ...On:.msg ChanOP set $chan TellAdd On
  ...Off:.msg ChanOP set $chan TellAdd Off
  ..TellDel
  ...On:.msg ChanOP set $chan TellDel On
  ...Off:.msg ChanOP set $chan TellDel Off
  ..TellSet
  ...On:.msg ChanOP set $chan TellSet On
  ...Off:.msg ChanOP set $chan TellSet Off
  ..FunMsg
  ...On:.msg ChanOP set $chan FunMsg On
  ...Off:.msg ChanOP set $chan FunMsg Off
  ..Topic Lock:.msg ChanOP set $chan keeptopic $$?="Enter Minimum Access"
  ..NoNote:.msg ChanOP set $chan NoNote $$?="Enter Level Of Access"
  ..URL:.msg ChanOP set $chan URL $$?="Enter URL"
  ..UnBan:.msg ChanOP unban $chan $$?="Enter Nickname"
  ..UnBan(All):.msg ChanOP unban $chan All
  ..ListBan:.msg ChanOP listban $chan
  .-
  .NickOP
  ..Register:.msg NickOP register $$?="Make a Password" $$?="Enter your e-mail"
  ..Identify:.msg NickOP@austnet.org identify $?*="Enter Password"
  ..Change Password:.msg NickOP set password $$?="Enter New Password"
  ..Link Nick:.msg NickOP link add $$?="Enter Nick" $$?="Enter Password"
  ..Remove Link:.msg NickOP link remove $$?="Enter Nick"
  ..Delete Link:.msg NickOP link delete $$?="Enter Nick"
  ..Link List:.msg NickOP link list
  ..Drop Nick:.msg NickOP drop $$?="Enter Nick" $$?*="Enter Password"
  ..Nick Info:.msg NickOP info $$?="Enter Nick"
  ..Kill Nick:.msg NickOP@austnet.org kill $$?="Enter Nick" $$?*="Enter Password"
  ..AutoKill
  ...On:.msg NickOP set kill on
  ...Off:.msg NickOP set kill off
  ..AOP
  ...On:.msg NickOP set AOP on
  ...Off:.msg NickOP set AOP off
  ..AutoAdd
  ...On:.msg NickOP set autoadd on
  ...Off:.msg NickOP set autoadd off
  .-
  .LoveOP
  ..Tonsil Kiss:.msg LoveOP kiss $$?="Enter Nick" tonsil
  ..Gentle Kiss:.msg LoveOP kiss $$?="Enter Nick" gentle
  ..Hug:.msg LoveOP hug $$?="Enter Nick"
  ..Chocolate:.msg LoveOP chocolate $$?="Enter Nick"
  ..Admire:.msg LoveOP admire $$?="Enter Nick"
  ..Rose:.msg LoveOP rose $$?="Enter Nick"
  ..Candy:.msg LoveOP candy $$?="Enter Nick"
  ..Love:.msg LoveOP love $$?="Enter Nick"
  ..Cookie:.msg LoveOP cookie $$?="Enter Nick"
  ..Net couple:.msg LoveOP netcouple add $$?="Enter Nick"
  ..Net engage:/note you must first be in #Chapel for this command, then wait for the Priest. | .msg LoveOP book $$?="Enter Nick 1" $$?="Enter Nick 2"
  .-
  .NoteOP
  ..List Notes:.msg NoteOP list
  ..Read Note:.msg NoteOP read $$?="Enter Number"
  ..Send Note:.msg NoteOP send $$?="Enter Nick" $$?="Enter Message"
  ..Channel Notes:.msg NoteOP send $chan $$?="Enter Message"
  ..Clear Notebox:.msg NoteOP del all | .msg noteop purge all
}
