### PHOENIX.HLP Helpfile for use with PhoEniX Version 2.05 from Vassago.

EVAL echo $ex Loading PHOENIX.HLP file Version 2.05...

### Help for PhoEniX Commands

alias pause2 {
  ^assign PAUSETEMP $"-Enter to Continue-"
  ^assign -PAUSETEMP
}

alias pecho {^xecho -level crap $ex $0-}

alias commands {
   echo |--------------------------------------------------------------------|
   echo |        PhoEniX v2.05 by Vassago - Main Commands Help Topics        |
   echo |--------------------------------------------------------------------|
   echo |  STATUS - Tells what the lights on the Status Bar Display mean.    |
   echo |  USER - User-Specific Commands (such as /IrcLog, etc.)             |
   echo |  OP - Channel Operator Commands (won't work unless you are op)     |
   echo |  LIST - Listing-Type Commands (such as /AddF, /RemF, AddBK, etc.)  |
   echo |  XDCC - XDCC Commands (DCC File transfer commands)                 |
   echo |  BAN - Ban Information (lists the different types of bans, etc)    |
   echo |  WINDOW - Windowing Commands (for creation/usage with IRC windows) |
   echo |  MISC - Miscellaneous Commands (don't really fit into the above)   |
   echo |  ABOUT - Tells you about PhoEniX the script, credits, etc.         |
   echo |--------------------------------------------------------------------|
   echo |   - PHELP - To read a help topic, type /PHELP <Topic>. - PHELP -   |
   echo |--------------------------------------------------------------------|
}

alias phelp {
  if (match($0 STATUS USER OP LIST XDCC BAN WINDOW MISC ABOUT)) {$0GCOMMAND}
   {/commands}
}

alias about {/aboutgcommand}
alias WINDOWGCOMMAND {/net}
alias XDCCGCOMMAND {/XDCC help}

alias STATUSGCOMMAND {
   pecho The extended status bar flags [0-0:GSCNXALFMPHR] are:
   pecho A = Friends CTCP HELP/OP/INVITE/UNBAN/CHOPS    L = IRC Logging
   pecho M = Mass Deop/Kick Protection                  G = XDCC AutoGet
   pecho F = Flood Protection                           X = XDCC Security
   pecho H = Netsplit Hack/Ban Protection               C = XDCC AutoClose
   pecho P = Channel Flood/Nick Flood Protection        S = XDCC AutoSend
   pecho R = Auto Rejoin on Kick                        N = XDCC AutoreName
   pecho 0-0 = Files Offered - Files Pending to Receive
   pecho \(Uppercase indicates ON, lowercase OFF.\)
}

alias USERGCOMMAND {
   echo |----------------------------------------------------------------------|
   echo |        PhoEniX version 2.05 by Vassago - User-Specific Commands      |
   echo |----------------------------------------------------------------------|
   echo | /M (nick) (message) - Messages <nick> with <message>.                |
   echo | /N (nick) (message) - Notices <nick> with <message>.                 | 
   echo | /J (channel to join) - Joins <channel> - # is not needed.            |
   echo | /L - leaves current channel.  /L (channel) - Leaves <channel>.       |
   echo | /W, /WI, /WW (nick) - Gives WHO, WHOIS, & WHOWAS info on <nick>.     |
   echo | /WII (nick) - Tells you whois info on <nick> and their idle time.    |
   echo | /SERV (server) - Switches to <server>. /S - Server (Default Server)  |
   echo | /SB [<channel>] - Show all bans on channel, or current channel.      |
   echo | /I - Invites the last person to message you to your current channel. |
   echo | /EX (command) - Executes <command> outside of IRC.                   |
   echo | /LS (filter) - Lists files that fit <filter>.                        |
   echo | /CAT (filename) - Displays <filename> to your screen.                |
   echo | /RE (Nick/Ch) (Cmd) - Redirects output of <cmd> to <Nick/Channel>.   |
   echo | /DIRLM (Nick/Chn) - Directs last message received to <Nick/Channel>. |
   echo | /DIRLN (Nick/Chn) - Directs last notice received to <Nick/Channel>.  |
   echo | /CHOPS - Lists channel operators in the current channel.             |
   echo | /P (nick) - Pings <nick>. /P - Pings everyone on current channel.    |
   echo | /AUTOPING - Updates your Lag indicator (on status bar)               |
   /pause2
   echo | /CHANST - Returns the current channel statistics of the channel.     |
   echo | /SC - Does a NAMES of current channel.                               |
   echo | /SVE - Saves MOST of your personal user settings to a file.          |
   echo | /FLOODP (on/off) - Turns personal flood protection <on/off>.         |
   echo | /SENSOR - Sets sensitivity for mdop, mkick, and flood protection.    |
   echo | /ALLPROT (on/off) - Turns ALL your protection <on/off>.              |
   echo | /FING (nick) - Does a CTCP FINGER of <nick>. Alone, does channel.    |
   echo | /PAUSE - Toggles scroll hold mode on or off.                         |
   echo | /IG (nick) - Ignores using default types from <nick> (by user@host). |
   echo | /IG (filter) - Ignores using default ignore types from <filter>.     |
   echo | /NOIG (nick) - Unignores <nick>.                                     |
   echo | /AUTOTIME (#minutes) - Changes the idleaway settings to <#minutes>.  |
   echo | /SETAWAY (reason) - Sets you away for <reason>. Logs all messages.   |
   echo | /SETBACK - Sets you back, lists messages, & requests save/delete.    |
   echo | /PROT (on/off) - Turns <on/off> megadeop and megakick protection.    |
   echo | /NHPROT (on/off) - Turns netsplit hack protection <on/off>.          |
   echo | /CPROT (on/off) - Turns channel flood protection <on/off>            |
   echo | /EXTMES (on/off) - Turns extended message displays/beeping <on/off>. |
   /pause2
   echo | /IRCLOG (on/off) - Turns your IRC autologging <on/off>               |
   echo | /STATUS - Shows you your current PhoEniX configuration.              |
   echo | /NOTIFY (+/-nick) - Adds (+) or removes (-) <nick> from notify list. |
   echo | /CSTAT - Toggles status bar updating by the script ON and OFF.       |
   echo | /PUBCAT (filename) - Displays a file to your current channel.        |
   echo | /OOPS (nickname) - Redirects the last message you sent to <nick>,    |
   echo |   and sends an a
   echo | /UMODE (mode) - Changes your usermode to <mode>.                     |
   echo |----------------------------------------------------------------------|
}

alias OPGCOMMAND {
   echo |----------------------------------------------------------------------|
   echo |         PhoEniX version 2.05 by Vassago - Channel Op Commands        |
   echo |----------------------------------------------------------------------|
   echo | /MASS (o,d,v,s,k,lk) - Mass mode/kicks. Type /MASS for extended help.|
   echo | /OP (nicks) - Ops all <nicks>. /DOP (nicks) - Deops all <nicks>.     |
   echo | /INV (nick) - Invites <nick> to current channel.                     |
   echo | /C (mode) - Sets <mode> on current channel.                          |
   echo | /MC - Clears all channel modes, including any channel keys.          |
   echo | /ML - Sets mode +tnis on channel.  /MN - Sets mode +nst on channel.  |
   echo | /K (nick) (reason) - Kicks <nick> of current channel for <reason>.   |
   echo | /FK (filter) (reason) - Kicks all people matching <filter>.          |
   echo | /FBK (filter) (reason) - Kicks and bans people matching <filter>.    |
   echo | /WORDKICK (word) - Kicks anyone who says <trigger word>.             |
   echo | /WORDKICK (combination) - Same as wordkick - separate words with *   |
   echo | /REMWORD - Removes wordkicks placed with /WORDKICK.                  |
   echo | /WALL (message) - Sends <message> to all other channel operators.    |
   echo | /LOCK (mode) - Locks the channel mode with <mode>.                   |
   echo | /LOCK (none) - Takes off the channel lock. You must type "none".     |
   echo | /BK (bantype) (nick) (reason) - Deops, bans, & kicks <nick>.         |
   echo | /NOKEY - Removes the last set channel key.                           |
   echo | /T (topic) - Changes topic to <topic>. /T - Shows channel topic.     |
   echo |----------------------------------------------------------------------|
}

alias LISTGCOMMAND {
   echo |----------------------------------------------------------------------|
   echo |          PhoEniX version 2.05 by Vassago - List Type Commands        |
   echo |----------------------------------------------------------------------|
   echo | /ADDF <nick/filter> <privileges>. Privileges you may assign include: |
   echo |  INVITE, OP, and UNBAN \(which lets them unban themselves on your     |
   echo |    current via a CTCP request.\)                                      |
   echo |  To give them all available access, type /ADDF <nick/filter> ALL.    |
   echo | /REMF <nick/filt> - Removes nickname or filter from the Friends list.|
   echo | /LISTF - Lists everyone on your Friends list and access levels.      |
   echo | /ADDBK (nick/filter) - Adds <nick> or <filt> to your AutoBKick list. |
   echo | /REMBK (nick/filter) - Removes <nick/filt> from your AutoBKick list. |
   echo | /LISTBK - Lists your complete AutoBKick list.                        |
   echo | /AUTO (on/off) - Turns CTCP OP, INVITE, and UNBAN <on/off>.          |
   echo | /AUTOCHAN (channel<s> or ALL) - Sets valid channels for use with     |
   echo |   the CTCP friends list and AUTO commands.                           |
   echo | /FLOODOK (nick) - Adds a nickname to your flood_ok list. That nick   |
   echo |    will not trigger flood protection if they go over the limit.      |
   echo | /REMFLOOD (nick) - Removes a nickname from your flood_ok list.       |
   echo |----------------------------------------------------------------------|
}

alias BANGCOMMAND {
   echo |----------------------------------------------------------------------|
   echo |            PhoEniX version 2.05 by Vassago - Ban Commands            |
   echo |----------------------------------------------------------------------|
   echo | /BAN (bantype) (nick) - Bans <nick> on your current channel.         |
   echo |    You can define a ban for use by typing: /BANDEF <bantype>.        |
   echo | /BAN (filter<s>) - Bans up to three filters on your current channel. |
   echo | /UNBAN (nick) - Unbans <nick> on your current channel.               |
   echo | /UNBAN (filter) - Reverses all bans matching <filt> on your channel. |
   echo | /BKICK/BK (bantype) (nick) - Deops and bans <nick> with <bantype>.   |
   echo | /CDBAN - Completely clears current channel of all bans.              |
   echo | /BANDEF (n,s,h,e,d) - Sets default to normal, screw, host, or elite. |
   echo |  These bans are used as default for BK and BAN. Ban types are:       |
   echo |  N Normal *!*xample@*.you.bans.com.  S Screw  *!*E??mp?e@*.b??s.?om. |
   echo |  H Host   *!*@blah.you.bans.com.     E Elite  TheirNick@*            |
   echo |                  D Domain   *!*@*.you.bans.com.                      |
   echo |   IP Addresses (Numerical) will be detected and banned correctly.    |
   echo | /DOBANS - Does all bans & filters in your AutoBKick list.            |
   echo |----------------------------------------------------------------------|
}

alias MISCGCOMMAND {
   echo |----------------------------------------------------------------------|
   echo |        PhoEniX version 2.05 by Vassago - Miscellaneous Commands      |
   echo |----------------------------------------------------------------------|
   echo | /OV - Toggles OPVIEW server notice windowing on or off.              |
   echo | /SERVKILL (on/off) - If you have the OPVIEW window active, this will |
   echo |    make it NOT display any "SERVER KILL" notices.                    |
   echo | /CYCLE - Leaves current channel and rejoins right afterwards.        |
   echo | /VER (nick) - Checks version of <nick>. /VER - Versions the channel. |
   echo | /BYE - Signs off with one of 67 unusual signoff messages :>          |
   echo | /SHELL - Opens a window and does a UNIX shell.                       |
   echo | *TAB - Cycles through message recipient/last messagers.              |
   echo | *CTRL-W - Controls all the Windowing functions. Type /NET for help.  |
   echo | *CTRL-O - Ignores the last person to MSG you.                        |
   echo | *CTRL-X - Switches back and forth between channels.                  |
   echo | *CTRL-Z - Drop to a Unix shell ('fg' exits the shell).               |
   echo | *CTRL-F - Flushes all pending server output (useful during floods).  |
   echo | *CTRL-B - Toggles BOLD text on/off.                                  |
   echo | *CTRL-V - Toggles INVERSE text on/off.                               |
   echo | *CTRL-_ - Toggles UNDERLINE text on/off.                             |
   echo | *ARROW UP - Brings up last command.                                  |
   echo | *ARROW DOWN - Brings up next command.                                |
   echo | *ARROW LEFT - Moves the cursor left one character.                   |
   echo | *ARROW RIGHT - Moves the cursor right one character.                 |
   echo |----------------------------------------------------------------------|
}

### XDCC Help Commands

alias HELPmcommand {
      if ([$0])
         { if (match($0 SEC LOAD LIMIT SAVE PSEND HELP LIST PLIST SEND STATUS NOTICE OFFER FILE DOFFER AUTOGET AUTOSEND NOISE DIR GET CLOSE AUTOCLOSE GLIST ULDIR DLDIR OVERWRITE AUTORENAME EXTDESC))
              { pecho Help on topic: $0
                $0HCOMMAND }
              { pecho $0 is not a valid command.} }
         { pecho +-----------------+ PhoEniX XDCC Commands +----------------+
           pecho /XDCC HELP [Command] to get help on [Command].
           pecho /XDCC LIST [#N]      to get a list of packs offered.
           pecho /XDCC GLIST          to get a list of pending dccs.
           pecho /XDCC NOTICE         to make a public notice.
           pecho /XDCC PLIST          to take the offered list on CHANNEL.
           pecho /XDCC SEND           to send files.
           pecho /XDCC PSEND          to send packs.
           pecho /XDCC GET            to get files.
           pecho /XDCC CLOSE          to close files.
           pecho /XDCC STATUS         to get XDCC status.
           pecho /XDCC OFFER          to offer files to people.
           pecho /XDCC DOFFER         to remove files from offered list.
           pecho /XDCC LOAD FILENAME  to load offer-file FILENAME.
           pecho /XDCC SAVE FILENAME  to create an offer-file FILENAME.
           pecho /XDCC DIR            to get a directory.
           pecho /XDCC AUTOGET        to switch Autoget ON/OFF.
           pecho /XDCC AUTOSEND       to switch Autosend ON/OFF.
           pecho /XDCC AUTOCLOSE      to switch Autoclose ON/OFF.
           pecho /XDCC NOISE          to switch Noise ON/OFF.
           /pause2
           pecho /XDCC OVERWRITE      to switch Autoget Overwrite ON/OFF.
           pecho /XDCC ULDIR          to set your XDCC upload directory.
           pecho /XDCC DLDIR          to set your XDCC download directory.
           pecho /XDCC SEC [Command]  Type /XDCC HELP SEC for more info.
           pecho /XDCC LIMIT <num>    to set your XDCC AUTOSEND limit.
           pecho /XDCC AUTORENAME     toggles AUTORENAMING of existing
           pecho                      files (if AUTOGET is on).
           pecho /XDCC EXTDESC        toggles extended pack descriptions.
           pecho +----------------------------------------------------------+
      }
}

alias HELPHCOMMAND {
      pecho Format: /XDCC HELP [Command]
      pecho Shows a help of any XDCC command, without [Command]
      pecho shows a general help.
}
alias LIMITHCOMMAND {
      pecho Format: /XDCC LIMIT <#>
      pecho Sets your DCC SEND limit to the number you specify.
      pecho This has no effect on other DCC's - GET, etc. will
      pecho not change it - only /dcc sends and XDCC AUTOSENDs.
}
alias LISTHCOMMAND {
      pecho Format: /XDCC LIST [#N]
      pecho Shows all the files offered.
      pecho Use #N to get more info about #N pack
}
alias GLISTHCOMMAND {
      pecho Format: /XDCC GLIST
      pecho Shows all the files pending to get.
}
alias DIRHCOMMAND {
      pecho Format: /XDCC DIR
      pecho Shows the files on the current dir. Wilcards allowed.
      pecho Ie: *.irc *.exe
}
alias OVERWRITEHCOMMAND {
      pecho Format: /XDCC OVERWRITE
      pecho Switched XDCC Autoget OVERWRITE status ON/OFF.
}
alias DLDIRHCOMMAND {
      pecho Format: /XDCC DLDIR <directory>
      pecho Sets the directory where your XDCC files are placed.
}
alias ULDIRHCOMMAND {
      pecho Format: /XDCC ULDIR <directory>
      pecho Sets your new XDCC directory from which your files are offered.
}
alias GETHCOMMAND {
      pecho Format: /XDCC GET
      pecho Lets you to get files from someone.
}
alias LOADHCOMMAND {
      pecho Format: /XDCC LOAD FILE_NAME
      pecho Lets you load FILE_NAME offer file.
      pecho Try /XDCC HELP FILE to get help about offer file format.
}
alias SAVEHCOMMAND {
      pecho Format: /XDCC SAVE FILE_NAME [[pack] [pack] ... ]
      pecho Lets you create an offer file called FILE_NAME.
      pecho If you don't give a pack number file it will be created
      pecho with all packs from your offer list.
      pecho Note: If file exists the original file will be appended.
      pecho ie: /XDCC SAVE offer.file    Will create a file called
      pecho                              offer.file with all packs.
      pecho     /XDCC SAVE offer.file #1 #1 Will create a file called
      pecho                              offer file with #1 & #2 packs
}
alias CLOSEHCOMMAND {
      pecho Format: /XDCC CLOSE
      pecho Lets you close files from someone.
}
alias AUTOCLOSEHCOMMAND {
      pecho Format: /XDCC AUTOCLOSE
      pecho This command switches autoclose ON/OFF.
      pecho When it's ON all filles offered to you will be closed
      pecho When it's OFF if AUTOGET is OFF all files offered to
      pecho you will be saved on an array, you must use GET command
      pecho to get it.
}
alias NOTICEHCOMMAND {
      pecho Format: /XDCC NOTICE
      pecho Make a public notice about how to use XDCC on you
      pecho You must use this command to avoid flooding the channel.
}
alias PLISTHCOMMAND {
      pecho Format: /XDCC PLIST
      pecho Show the list of files offered on public.
      pecho Be careful with this command, you can flood the channel..
}
alias SENDHCOMMAND {
      pecho Format: /XDCC SEND
      pecho This command lets you send files to people.
      pecho You can send multiple files to multiple nicks.
      pecho IE: FILES: *.zip *.exe
      pecho     NICKS: $N Zevious Vassago
      pecho This sends *.zip *.exe to $N, Zevious and Vassago.
}
alias PSENDHCOMMAND {
      pecho Format: /XDCC PSEND
      pecho This command let you send packs to ppl.
      pecho You can send a pack to multi nicks.
      pecho IE: PACK: 1
      pecho     NICKS: $N Zevious Vassago
      pecho This sends pack #1 to $N, Zevious and Vassago.
}
alias STATUSHCOMMAND {
      pecho Format: /XDCC STATUS
      pecho This command shows you the XDCC status.
}
alias OFFERHCOMMAND {
      pecho Format: /XDCC OFFER
      pecho This command lets you offer files to people.
      pecho You can offer multiple files.
      pecho IE: FILES: phoenix.*
      pecho     Description: PhoEniX from Vassago
      pecho This offers all PhoEniX files to people in a pack.
}
alias DOFFERHCOMMAND {
      pecho Format: /XDCC DOFFER
      pecho This command lets you remove packs.
      pecho You can remove all files or a simple pack.
      pecho * to remove all files or N to take off N pack
}
alias AUTOGETHCOMMAND {
      pecho Format: /XDCC AUTOGET ON/OFF
      pecho This command switches AUTOGET ON/OFF
}
alias EXTDESCHCOMMAND {
      pecho Format: /XDCC EXTDESC ON/OFF
      pecho This command switches extended pack descriptions ON/OFF
}
alias AUTORENAMEHCOMMAND {
     pecho Format: /XDCC AUTORENAME ON/OFF
     pecho This command switches AUTOGET ON/OFF.
}
alias AUTOSENDHCOMMAND {
      pecho Format: /XDCC AUTOSEND ON/OFF
      pecho This comamnd switches AUTOSEND ON/OFF
}
alias NOISEHCOMMAND {
      pecho Format: /XDCC NOISE ON/OFF
      pecho This command switches script NOISE ON/OFF
      pecho When it's ON, the script shows you all XDCC messages.
}
alias FILEHCOMMAND {
      pecho LOADFILE must be ON or OFF.
      pecho OFFERFILE this must have the full path and name of the file.
      pecho The file must be a text file with at least two lines by pack and
      pecho each line must begin with one of this words:comment,files,desc
      pecho Here goes one example file:
      pecho comment This is one of my packs
      pecho desc A complete PhoEniX script pack.
      pecho files p*.* /home/phoenix/   (wildcards allowed)
      pecho files phoenix *.dat  (more than a file per line allowed)
      pecho ....... and you can add more packs..
      pecho As you can see, each pack must have a first line that begins
      pecho with 'desc' and one or more lines that begins with 'files'
      pecho Files can have full path especification
}
alias SECHCOMMAND {
      pecho You can cut XDCC access to all people via security commands:
      pecho Type /XDCC SEC                  To switch security On/Off.
      pecho Type /XDCC SEC LOAD             To Load security list.
      pecho Type /XDCC SEC ADD <filt/nick>  To add a pattern to your list.
      pecho Type /XDCC SEC REMOVE <filt>    To remove a pattern from your list.
      pecho Type /XDCC SEC LIST             To get a list of registered people.
      pecho IE: /XDCC SEC ADD *@*.edu - will allow access to all Americans.
}

EVAL echo $ex PHOENIX.HLP has been loaded. /PHELP for a list of commands.

