###########################
# SUPERPAK HELP           #
###########################

alias shelp {
if ([$0]) {
if ([$0]==[1]) {shelp1} 
if ([$0]==[2]) {shelp2} 
if ([$0]==[3]) {shelp3} 
if ([$0]==[4]) {shelp4} 
if ([$0]==[unix1]) {unix_help1} 
if ([$0]==[unix2]) {unix_help2} 
if ([$0]==[unix3]) {unix_help3} 
if ([$0]==[special1]) {special_help1}
if ([$0]==[special2]) {special_help2}
if ([$0]==[special3]) {special_help3}
}{main_help}
}

alias main_help {
//clear
echo +-----------------------------------------------------------------+
echo |              TG's SUPERPAK MAIN HELP SCREEN                     |
echo +-----------------------------------------------------------------+
echo |  The following are available by typing the appropriate command  |
echo |                                                                 |
echo | /shelp 1             general commands screen 1                  |
echo | /shelp 2             general commands screen 2                  |
echo | /shelp 3             general commands screen 3                  |
echo | /shelp 4             general commands screen 4                  |
echo | /shelp unix1         irc unix macros  screen 1                  |
echo | /shelp unix2         irc unix macros  screen 2                  |
echo | /shelp unix3         irc unix macros  screen 3                  |
echo | /shelp special1      for special commands screen 1              |
echo | /shelp special2      for special commands screen 2              |
echo | /shelp special3      for special commands screen 3              |
echo | /new                 to see what's new with superpak            |
echo |                                                                 |
echo | NOTE: your machine may or may not be able to run some commands  |
echo +-----------------------------------------------------------------+
}


alias shelp1 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Commands Screen 1                           |
echo +-----------------------------------------------------------------+
echo | /f <nick>            to ctcp finger someone                     |
echo | /m <nick>            to send a private message to someone       |
echo | /w <nick>            to find out who someone is                 |
echo | /ww <nick>           to find out who someone who signed off was |
echo | /c                   to clear the screen                        |
echo | /j <channel(s)>      to join channels or to follow an invite    |
echo | /p <#channel>        to part a channel or to part current one   |
echo | /i <nick>            to invite someone to your channel          |
echo | /ver <nick>          to find out someone's irc client version   |
echo | /nsl <nick or host>  to find out the ip address of nick or host |
echo | /n <#channel>        to list names of people on irc or channel  |
echo | /nc                  to list names of people on current channel |
echo | /um <mode>           to change one's user mode                  |
echo | /cm <mode>           to change the channel mode                 |
echo +-----------------------------------------------------------------+
}

alias shelp2 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Commands Screen 2                           |
echo +-----------------------------------------------------------------+
echo | /o <nicks> or /o *   to make people channel operators           |
echo | /d <nicks>           to remove channel operator from them       |
echo | /k <nick> <comment>  to kick someone out of the channel         |
echo | /ops                 show who is channel operator on channel    |
echo | /wjoin <#channel>    create a separate window for a channel     |
echo | /trace <nick/server> show which server/users linked to server   |
echo | /wholeft             shows who split away when netsplit occurs  |
echo | /pg <nick/#channel>  to test how fast messages travel to target |
echo | /ban <nick>          to ban someone or to show channel bans     |
echo | /unban <nick>        to unban someone (also /u <nick>)          |
echo | /clearban            to clear all bans on current channel       |
echo | /fuckbot <botname>   quickly get rid of robot with auto-rejoin  |
echo | /fuck <nick>         to ban and kick someone out of a channel   |
echo | /look  <#channel>    to show who is on channel with statistics  |
echo | /count <#channel>    to show channel statistics                 |
echo | /undo <pattern/*>    to remove all bans or certain ban patterns |
echo | /oops <nick>         to rectify a wrongly sent message          |
echo +-----------------------------------------------------------------+
}

alias shelp3 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Commands Screen 3                           |
echo +-----------------------------------------------------------------+
echo | /kicks               will show you a list of funny ways to kick |
echo | /mks or /mkl         to show you list of Mortal Kombat kicks    |
echo | /rid <nick>          to get rid of anyone with same address     |
echo | /idle <nick>         to find out how long someone has been idle |
echo | /actions             to show you a list of actions              |
echo | /bye or /bye2        will exit you with a message or song quote |
echo | /trace <server/nick> shows connections or path to nick/server   |
echo | /links               lists all servers and their uplinks        |
echo | /say1-9 <text>       to say something in fancy letters          |
echo |                      -> also try: /me1-9    topic1-9            |
echo |                           /msg1-9   or /describe1-9             |
echo | /rmail               read mail while on irc (works with mail)   |
echo | /t <topic>           set a topic or to view it if none supplied |
echo | /ct                  to clear channel topic                     |
echo | /tech <opt. server>  to show irc technicians (on server if inc) |
echo +-----------------------------------------------------------------+
}


alias shelp4 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Commands Screen 4                           |
echo +-----------------------------------------------------------------+
echo | /change <channel>    to leave current channel and join another  |
echo | /cycle               to leave and rejoin current channel        |
echo +-----------------------------------------------------------------+
}



alias special_help1 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Special Commands screen 1                   |
echo +-----------------------------------------------------------------+
echo | /sf <nick> <files>   to send several files at once to someone   |
echo |                      via dcc protocol. type /sf  for info       |
echo | /rf <nick> <files>   to receive several files from someone      |
echo |                      via dcc protocol. type /rf  for info       |
echo | /cf <nick>           to close all file requests sent to you     |
echo | /show <target> <cmd> where the target is either a channel or a  |
echo |                      nick, and cmd is a unix command. Will show |
echo |                      to target the results from a unix command  |  
echo | /mesg <y/n>          to toggle between regular and extended     |
echo |                      message mode. Regular will show just nick  |
echo |                      of person messaging you. Extended displays |
echo |                      their address as well. type /mesg for info |
echo | /finger <nick/host>  to launch a unix finger on nick or host    |
echo |                      type: /finger   for info                   |
echo | /net <server>        to allow you to have more than one window  |
echo |                      on irc. type: /net    for more info        |
echo +-----------------------------------------------------------------+
}

alias special_help2 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Special Commands screen 2                   |
echo +-----------------------------------------------------------------+
echo | /ig <nick | address> to completely ignore a person              |
echo |                      use: /nig <nick | address> to unignore     |
echo |                           /sig        to show ignore list       |
echo |                           /zig        to zap (delete) list      |
echo | ctrl-o               to ignore last person who messaged you     |
echo | /autorejoin on|off   to set autorejoin status to ON or OFF      |
echo | /country -n <nick>   tells you where 'nick' is calling from     |
echo | /country <country>   gives you the country code for country     |
echo | /country <code>      gives you the country for that code        |
echo | /lcountry <pattern>  lists all countries matching patterns      |
echo | /lcode    <pattern>  lists all codes matching patterns          |
echo | /notify +user        to add a user to your notify list          |
echo | /notify -user        to remove a user from your notify list     |
echo | /notify              to show your notify list                   |
echo | /snotify & /lnotify  to save or load your notify list           |
echo | /znotify             to zap (delete) your notify list           |
echo +-----------------------------------------------------------------+
}

alias special_help3 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Special Commands screen 3                   |
echo +-----------------------------------------------------------------+
echo | /chat <option. nick> to connect automatically to a dcc chat     |
echo |                      if nickname is specified, it will drop     |
echo |                      current connection and connect to new      |
echo |                      person. (/autoquery on | off to set mode)  |
echo | /record  on | off    to turn on | off answering machine.. type  |
echo |                      /record   for more info                    |
echo | /upgrade             to upgrade superpak                        |
echo | /pause               to set pause mode on or off                |
echo | /map <servermask>    to displays a map of servers (try /map *)  |
echo | hit your 'tab' key   to switch through the nicks of people you  |
echo |                      messaged to recently                       |
echo +-----------------------------------------------------------------+
}


alias unix_help1 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Unix Macros screen 1                        |
echo +-----------------------------------------------------------------+
echo | /users               to display users currently logged on       |
echo | /whatis <cmd>        to display short description on a command  |
echo | /whereis <cmd>       to display the path where a command is     |
echo | /date                to display the date and time               |
echo | /tar <directory>     to tar (gather up) a directory to file.tar |
echo | /untar <file.tar>    to untar a file.tar file (unpack a dir)    |
echo | /sping <server>      to launch a unix ping on a server          |
echo | /word <file>         find out how many words/lines/chrs in file |
echo | /uptime <host>       displays uptime and load averages of host  |
echo | /rup <host>          to find out who is logged on host          |
echo | /quota               to find out what disk quota is             |
echo | /space               to find out how much disk space is used    |
echo | /ps or /ps2          to list your current running processes     |
echo | /kp <process number> to kill one process or more                |
echo | /cal <month# year>   to display calendar                        |
echo +-----------------------------------------------------------------+
}

alias unix_help2 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Unix Macros screen 2                        |
echo +-----------------------------------------------------------------+
echo | /mkdir <dirname>      to create a directory                     |
echo | /grep <string> <file> to find occurences of a string in a file  |
echo | /chmod <perm> <f/d>   to set a permission on files or dir's     |
echo | /zcat <file.Z>        to view a compressed (.Z) file            |
echo | /find <file>          to find where a file is in your account   |
echo | /file <file>          to show what a file is (its format)       |
echo | /sort <file>          to sort a file in alphabetical order      |
echo | /uncompress <file.Z>  to uncompress a file.Z file               |
echo | /compress <file>      to compress a file (.Z format)            |
echo | /gunzip <file.gz>     to uncompress a file.gz file              |
echo | /gzip <file>          to compress a file (.gz format)           |
echo | /mail <addr> <file>   to mail a file to an address              |
echo +-----------------------------------------------------------------+
}

alias unix_help3 {
//clear
echo +-----------------------------------------------------------------+
echo |                     Unix Macros screen 3                        |
echo +-----------------------------------------------------------------+
echo | /uuencode <file>      to uuencode a binary file (.uue)          |
echo | /uudecode <file>      to uudecode a file                        |
echo | /unzip   <file.tar.Z> to unzip a file.tar.Z file                |
echo | /cat <file> <s> <#l>  to display a file (type /cat for info)    |
echo | /ls  /lsa  /dir       to display your directory                 |
echo | /nslookup <host>      to do an nslookup on host                 |
echo | /from or /frm         to see who sent you mail                  |
echo | /cp <file1> <file2>   to copy a file                            |
echo | /mv <f1/d1> <f2/d2>   to move or rename a file or directory     |
echo +-----------------------------------------------------------------+
}
##END OF SPHELP
