Anope Help Channel Bot

By SnoooP on Nov 29, 2009

When a user joins the help channel they will get a greet notice of the bot telling them what to do if they need help.

!chanserv lists chanserv commands etc
!nickserv lists nickserv commands
!memoserv lists memoserv commands

I haven't included every command, I have just included the ones that I personally think are most common.

**I know I could put this in a txt file and /play but I chose not to***

Asks you to set the help channel on load, also gives you the ability to change the help chan through the menu.

on *:load:{
 Set %HelpChan $$?="Choose Help Channel"
echo -a -=- If you want to change the chosen help channel, Right click and go to 'Set Help Channel'
}

menu * {
Set Help Channel: Set %HelpChan $$?="Choose Help Channel"
}

on *:Join:%HelpChan: {
  notice $nick Welcome $nick -=- For Help Regarding ChanServ Type: !ChanServ -=- For Help Regarding NickServ Type: !NickServ -=- For Help Regarding MemoServ: Type !MemoServ
}

on *:Text:*:%HelpChan: {
  if (!NickServ == $1-) {
    .timer 1 1 .notice $nick NickServ Help: 
    .timer 1 1 .notice $nick Register: Register your current nickname -=- /MSG NICKSERV REGISTER Pass Email 
    .timer 1 1 .notice $nick Ghost:    -=- /MSG NICKSERV GHOST Your Nickname Pass 
    .timer 1 1 .notice $nick Identify: -=- /MSG NICKSERV IDENTIFY Password 
    .timer 1 2 .notice $nick Group:    - -=- /MSG NICKSERV GROUP Nickname Password 
    .timer 1 2 .notice $nick Drop: Drop(delete) your nickname -=- /MSG NICKSERV DROP Nickname Password 
    .timer 1 2 .notice $nick Alist: List the channels you have access on -=- /MSG NICKSERV ALIST 
    .timer 1 2 .notice $nick Glist: List the nicknames grouped to your nick -=- /MSG NICKSERV GLIST
    .timer 1 2 .notice $nick For A List Of Set Commands Type !NickServ Set
    .timer 1 3 .notice $nick For A Full Command List Type: -=- /msg nickserv help
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
  if (!NickServ Set == $1-) {
    .timer 1 1 .notice $nick PASSWORD: Set your nickname password -=- /MSG NICKSERV SET PASSWORD New Password
    .timer 1 1 .notice $nick URL: Associate a URL with your nickname -=- /MSG NICKSERV SET URL URL Address
    .timer 1 1 .notice $nick EMAIL: Associate an email address with your nickname -=- /MSG NICKSERV SET EMAIL Email Address
    .timer 1 1 .notice $nick GREET: Assocaiate a greet message with your nickname -=- /MSG NICKSERV SET
    .timer 1 1 .notice $nick KILL: Turn protection on or off -=- /MSG NickServ SET KILL ON|OFF QUICK|IMMED  
    .timer 1 1 .notice $nick SECURE: Turn nickname Security on or off -=- /MSG NickServ SET SECURE ON|OFF
    .timer 1 2 .notice $nick PRIVATE: Prevent your nick from appearing in /ns list -=- /MSG NickServ SET PRIVATE ON|OFF
    .timer 1 2 .notice $nick AUTOOP: Should services op you automatically. -=- /MSG NickServ SET AUTOOP ON|OFF 
    .timer 1 2 .notice $nick For A Full Command List Type: -=- /msg nickserv help set
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
  if (!ChanServ == $1-) { 
    .timer 1 1 notice $nick Basic ChanServ Help: 
    .timer 1 1 notice $nick REGISTER: -=- /MSG CHANSERV REGISTER Channel Password Description 
    .timer 1 1 notice $nick IDENTIFY: -=- /MSG CHANSERV IDENTIFY Channel Password 
    .timer 1 1 notice $nick DROP: -=- /MSG CHANSERV DROP Channel PassWORD 
    .timer 1 1 notice $nick AKICK: -=-/AMSG CHANSERV AKICK Chanel add Nickname Reason 
    .timer 1 1 notice $nick ENFORCE: Enforce various channel modes and set options -=- /MSG CHANSERV ENFORCE CHANNEL
    .timer 1 2 .notice $nick BAN: Bans a selected nick on a channel -=- /MSG CHANSERV BAN CHANNEL NICKNAME REASON
    .timer 1 2 .notice $nick UNBAN: Remove all bans preventing you from entering a channel -=- /MSG CHANSERV UNBAN CHANNEL NICKNAME  
    .timer 1 2 .notice $nick For Help On How To Give A User Permanent Or Temporary Status, For Example @op, +voice -=- Type !ChanServ Status
    .timer 1 2 .notice $nick AUTOVOICE: Automatically voice users on join -=- /MSG CHANSERV AUTOVOICE CHANNEL ALL|REG|OFF
    .timer 1 2 .notice $nick For A List Of Set Commands Type !ChanServ Set
    .timer 1 2 .notice $nick For A Full Command List Type: -=- /msg chanserv help
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
  if (!ChanServ Status == $1-) { 
    .timer 1 1 .notice $nick There Are Two Types Of Status, Permanent & Temporary -=- For Help Regarding Permanent Type: !ChanServ Perm -=- For Help Regarding Temporary Type: !ChanServ Temp
    .timer 1 2 .notice $nick -=- End Of Help List -=-
  }
  if (!ChanServ Temp == $1-) {
    .timer 1 1 .notice $nick Will Give The Name User Temporary Status In A Channel
    .timer 1 1 .notice $nick /MSG CHANSERV STATUS CHANNEL NICKNAME -=- EXAMPLE: /MSG CHANSERV OP #CHAT DIRK
    .timer 1 1 .notice $nick OWNER      Gives you owner status on channel
    .timer 1 1 .notice $nick DEOWNER    Removes your owner status on a channel
    .timer 1 1 .notice $nick PROTECT    Protects a selected nick on a channel
    .timer 1 1 .notice $nick DEPROTECT  Deprotects a selected nick on a channel
    .timer 1 1 .notice $nick OP         Gives Op status to a selected nick on a channel
    .timer 1 2 .notice $nick DEOP       Deops a selected nick on a channel
    .timer 1 2 .notice $nick HALFOP     Halfops a selected nick on a channel
    .timer 1 2 .notice $nick DEHALFOP   Dehalfops a selected nick on a channel
    .timer 1 2 .notice $nick VOICE      Voices a selected nick on a channel
    .timer 1 2 .notice $nick DEVOICE    Devoices a selected nick on a channel
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
  if (!ChanServ Perm == $1-) { 
    .timer 1 1 .notice $nick Will Give The Name User Permanent Status In A Channel
    .timer 1 1 .notice $nick /MSG CHANSERV STATUS CHANNEL ADD|DEL NICKNAME -=- EXAMPLE: /MSG CHANSERV AOP #CHAT ADD DIRK
    .timer 1 1 .notice $nick SOP: Modify the list of SOP users
    .timer 1 1 .notice $nick AOP: Modify the list of AOP users
    .timer 1 1 .notice $nick HOP: Maintains the HOP (HalfOP) list for a channel
    .timer 1 1 .notice $nick VOP: Maintains the VOP (VOicePeople) list for a channel
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
  if (!ChanServ Set isin $1-) {
    .timer 1 1 .notice $nick TOPICLOCK: Prevents topic changes. Topic can only be changed with TOPIC -=- /MSG CHANSERV SET CHANNEL TOPICLOCK ON|OFF
    .timer 1 1 .notice $nick FOUNDER: Set the founder of a channel -=- /MSG CHANSERV SET CHANNEL FOUNDER NICKNAME
    .timer 1 1 .notice $nick PASSWORD: Set the founder password -=- /MSG CHANSERV SET CHANNEL PASSWORD PASSWORD
    .timer 1 1 .notice $nick DESC: Set the channel description -=- /MSG CHANSERV SET CHANNEL DESC DESCRIPTION
    .timer 1 1 .notice $nick URL: Associate a URL with the channel -=- /MSG CHANSERV SET CHANNEL URL URL
    .timer 1 1 .notice $nick EMAIL: Associate an E-mail address with the channel -=- /MSG CHANSERV SET CHANNEL EMAIL EMAIL
    .timer 1 1 .notice $nick ENTRYMSG: Set a message to be sent to users when they enter a channel -=- /MSG CHANSERV SET CHANNEL ENTRYMSG MESSAGE
    .timer 1 2 .notice $nick For A Full Command List Type: -=- /msg chanserv help set
    .timer 1 2 .notice $nick -=- End Of Help List -=-
  }
  if (!MemoServ == $1-) { 
    .timer 1 1 .notice $nick Basic MemoServ Help:  
    .timer 1 1 .notice $nick Send A Memo -=- /MSG MEMOSERV send NickNAME Message 
    .timer 1 1 .notice $nick Read Last Memo -=- /MSG MEMOSERV last 
    .timer 1 1 .notice $nick Delete Last Memo -=- /MSG MEMOSERV del last
    .timer 1 1 .notice $nick Delete All Memo's -=- /MSG MEMOSERV del all 
    .timer 1 1 .notice $nick List All Memo's -=- /MSG MEMOSERV LIST
    .timer 1 1 .notice $nick Check Last Memo -=- /MSG MEMOSERV CHECK
    .timer 1 3 .notice $nick For A Full Command List Type: -=- /msg memoserv help
    .timer 1 3 .notice $nick -=- End Of Help List -=-
  }
}

Comments

Sign in to comment.
SnoooP   -  Dec 05, 2009

nice one, I didn't notice that I just edited it from in here lol, I should of done it in mirc..

 Respond  
Testor   -  Dec 05, 2009

on :Text::%HelpChan {
You forgot the : and { in some places, BTW.

 Respond  
SnoooP   -  Dec 05, 2009

also.. changed edited it to implement what Testor suggested.. Added an on load function to set the help chan, and a menu option to set the help chan.

 Respond  
SnoooP   -  Dec 05, 2009

thanks blitzz... i've done that now =)

 Respond  
blitzz   -  Dec 04, 2009

You can silent the notice by adding the "." So it will not appear in your status when users use the command.

notice

To

.notice etc.....

 Respond  
Testor   -  Dec 04, 2009

on :Join:%HelpChan: { Script goes here. }
on
:Text:*:%HelpChan: { Script }

 Respond  
Testor   -  Nov 30, 2009

Maybe adding a menu/alias to pick what channel(s) for to work on, and using the var set in place of #help for the on event? would make adding more, removing, or changing channels easier for the user :D.

 Respond  
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.