Provides commands available only on Unix.
Commands for Unix
CommandArgs Detailed Help
crypt<password> [<salt>] Returns the resulting of doing a crypt() on <password> If <salt> is not given, uses a random salt. If running on a glibc2 system, prepending '$1$' to your salt will cause crypt to return an MD5sum based crypt rather than the standard DES based crypt.
errno<error number or code> Returns the number of an errno code, or the errno code of a number.
fortunetakes no arguments Returns a fortune from the *nix fortune program.
pidtakes no arguments Returns the current pid of the process for this Supybot.
progstatstakes no arguments Returns various unix-y information on the running supybot process.
spell<word> Returns the result of passing <word> to aspell/ispell. The results shown are sorted from best to worst in terms of being a likely match for the spelling of <word>.
unix<command> [<args> ...] Command dispatcher for the Unix plugin. Use 'list Unix' to see the commands provided by this plugin. Use 'config list plugins.Unix' to see the configuration values for this plugin. In most cases this dispatcher command is unnecessary; in cases where more than one plugin defines a given command, use this command to tell the bot which plugin's command to use.
wtf[is] <something> Returns wtf <something> is. 'wtf' is a *nix command that first appeared in NetBSD 1.5. In most *nices, it's available in some sort of 'bsdgames' package.

Configuration Variables for the Unix plugin

  • supybot.plugins.Unix.public
    • Default: True
    • Channel Specific: False
    • Help: Determines whether this plugin is publicly visible.
  • supybot.plugins.Unix.fortune
    • .command
      • Default: "/usr/games/fortune"
      • Channel Specific: False
      • Help: Determines what command will be called for the fortune command.
    • .short
      • Default: True
      • Channel Specific: False
      • Help: Determines whether only short fortunes will be used if possible. This sends the -s option to the fortune program.
    • .equal
      • Default: True
      • Channel Specific: False
      • Help: Determines whether fortune will give equal weight to the different fortune databases. If false, then larger databases will be given more weight. This sends the -e option to the fortune program.
    • .offensive
      • Default: False
      • Channel Specific: False
      • Help: Determines whether fortune will retrieve offensive fortunes along with the normal fortunes. This sends the -o option to the fortune program.
    • .files
      • Default:
      • Channel Specific: False
      • Help: Determines what specific file (if any) will be used with the fortune command; if none is given, the system-wide default will be used. Do note that this fortune file must be placed with the rest of your system's fortune files.
  • supybot.plugins.Unix.spell
    • .command
      • Default: "/usr/bin/aspell"
      • Channel Specific: False
      • Help: Determines what command will be called for the spell command.
  • supybot.plugins.Unix.wtf
    • .command
      • Default: "/usr/games/wtf"
      • Channel Specific: False
      • Help: Determines what command will be called for the wtf command.

<- URL | Plugins Index | Commands Index | UrbanDict ->

Valid HTML 4.01! Valid CSS! SourceForge.net Logo