Server services setup

By joshschooley444 on May 15, 2013

Services setup for anope. This script assumes you have an oline with proper access and that you ARE servicesroot in the services.conf.
Register your nick before use.
Tested multiple times
ENSURE "DisableRaw" in services.conf is commented.
should look like "#DisableRaw"

alias serversetup { 
  ;------------set variables
  set %olinenick $$?="Oper name?"
  set %olinepass $$?="Oper Pass?"
  set %channelpasses $$?="Network Channel Passwords?"
  ;oper up
  oper %olinenick %olinepass
  ;-------------join channels
  join #main
  join #services
  join #opers
  ;---------register channels
  msg chanserv register #main %channelpasses Offical lobby channel.
  msg chanserv register #opers %channelpasses Staff only channel.
  msg chanserv register #services %channelpasses Services logging channel.
  ;-----------Setup logchan for #services
  msg operserv set logchan on
  ;----Creating first botserv bot
  msg botserv Bot add Bot Bot B.ot Bot
  ;---------Assigning bot to channels
  msg botserv assign #main bot
  msg botserv assign #opers bot
  msg botserv assign #services bot
  ;-----------Set staff modes
  msg chanserv set #opers mlock +Os
  msg chanserv set #services mlock +As
  ;----------- Load raw module one time
  msg operserv modload os_raw
  ;-----------Join services to logchan
  msg operserv raw :memoServ Join #services
  msg operserv raw :operserv Join #services
  msg operserv raw :helpServ Join #services
  msg operserv raw :Global Join #services
  msg operserv raw :hostServ Join #services
  msg operserv raw :botServ Join #services
  msg operserv raw :ChanServ Join #services
  msg operserv raw :nickServ Join #services
  msg operserv raw :Bot Join #services
  ;-------------Unload os_raw
  msg operserv modunload os_raw
  ;---------Setting topics
  msg chanserv topic #services This Channel is for Network Administrators only.
  msg chanserv topic #opers This Channel is for Network Staff only.
  msg chanserv topic #main This Channel is the main chat lobby.
  ;---------cleaning up
  unset %olinenick
  unset %olinepass
  unset %channelpasses
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.