Top

MegaRPG Module: Help


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Jul 26, 2008
Last Updated  Jul 26, 2008
Tags  help  mega  module  rayth  rpg 

Description

This is the Help Module for MegaRPG

Here are the 2 Files:

http://megarpg.cjb.net/players/Help.txt -- User Help
http://megarpg.cjb.net/players/AdminHelp.txt -- Admin Help

In Both files if you see MegaRPG in a Message Bit replace it with the name of your bot.

Upon Completion of New Modules i will post bits of code to add to each help file.

User Help: PM Bot `Help
Admin Help: PM Bot `AdHelp

Grab the Code

on *:TEXT:`Help*:%MainChannel:{
  notice $nick $Left Please use PM for Help $Right
}
on *:LOAD:{
  set %HelpTopics Register Login Attacks Arena NPC Money Bank Lottery Attacking Admins Stats
  set %AdminHelpTopics Bank Lottery Main
}
on *:TEXT:`Help*:?:{
  if (!$2) {
    .msg $nick $Left Welcome to the Help Options. $right
    .msg $Nick $Left Please Choose a Topic From: $Right
    .msg $Nick $Left %HelpTopics $Right
    .msg $Nick $Left Command: `Help Topic $Right
  }
  if ($2) && (!$istok(%HelpTopics,$2,32)) { .msg $Nick $Left That is not currently a Help Topic. $right | halt }
  if ($2) && ($istok(%HelpTopics,$2,32)) {
    play -t $+ $2 $nick Help.txt 1500
  }
}
on 400:TEXT:`AdHelp*:%LogChan:{
  notice $nick $Left Please use PM For Help $Right
}
on 400:TEXT:`AdHelp*:?:{
  if (!$2) {
    .msg $nick $Left Welcome to the Admin Help Channel. $Right
    .msg $nick $Left Pick a Topic: $Right
    .msg $Nick $Left %AdminHelpTopics $Right
    .msg $nick $left Command: `AdHelp Topic $Right
  }
  if ($2) && (!$istok(%AdminHelpTopics,$2,32)) { .msg $Nick $Left That is not currently a Help Topic. $right | halt }
  if ($2) && ($istok(%AdminHelpTopics,$2,32)) {
    play -t $+ $2 $nick AdminHelp.txt 1500
  }
}
 

Comments

  (0)  RSS

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  

Bottom