| Version 17 (modified by tobias382, 5 years ago) |
|---|
Welcome to the Phergie Trac site
Phergie is an IRC bot written in PHP 5 with an OO API.
Download an official release or check out the Subversion repository.
DevelopersGuide (work in progress)
Current Development Phase: Alpha
Next Release: 1.0.3
Tentative Release Date: TBA
Links
Main Assembla site for Phergie
Ai, the original inspiration for Phergie
Public Commands
Notes
- Words enclosed by lower than (<) and greater than (>) signs are "variables" to be replaced by whatever fits their description
- <Nick> represents a random person, while <Bot> represents the bot name
- Words/parts enclosed by square brackets ([]) are optional
- Unless otherwise specified, commands are lowercase and parameters are case-insensitive
Plugins
- Acronym
- [<Nick>: ]ACRONYM? or [<Nick>: ]A.C.R.O.N.Y.M? returns possible definitions for the given acronym. Acronym must be upper-cased
- Daddy
- <Bot>: Who's your daddy? returns a random message to the person saying it
- Dns
- [rev]dns <IP> or [rev]dns <Domain> returns the IP associated to a domain or the host associated to the IP
- Drink
- coke <Nick> or soda <Nick> sends an energy drink
- pop <Nick> sends a sucker punch
- beer <Nick> sends a beer
- cocktail <Nick> sends a cocktail
- tea <Nick> sends a tea
- if <Nick> is "me", it throws to the person requesting it
- if <Nick> is "you", it throws to the bot
- Karma
- <Word>++ adds 1 to that word's karma
- <Word>-- removes 1 to that word's karma
- (<Words>)++ or (<Words>)-- to act on multiple words
- <Word>++ <Comment>, <Word>-- <Comment> and their multi-word variants save a comment describing the reason of the karma increase/decrease
- karma <Word> displays the karma of a word (no braces needed for multiple words here)
- Karma changes are restricted, don't try to spam it
- Lart
- <Bot>: <Word(s)> is <Definition> assigns a definition to a word (or group of words)
- <Bot>: <Word> is <Word> links the first word to the definition of the second (creates an alias)
- <Word> returns the definition of the word
- <Bot>: forget <Word> makes the bot forget that definition
- Circular references are automatically detected and expunged from the database
- Logging
- seen <Nick> returns the last action of that person on the active channel
- heard <Nick> returns the last sentence that person said on the active channel
- search <Query> returns the 1 (in channel) or 6 (in query) most recent results matching the query
- Math
- calc <Equation> or math <Equation> returns the result of the equation
- Php
- php <Function> returns the function prototype (arguments and types)
- Tld
- .<TLD extension> returns the description or country matching that TLD (Top Level Domain, i.e. .com)
- UrbanDictionary
- ud <Word> returns the first result for that word on Urban Dictionary
Passive Services
Plugins
- Altnick
- adds support for alternate nicks when the primary nick is in use
- Autojoin
- automatically instructs the bot to join a given set of channels based on a configuration setting
- FeedTicker
- displays new articles from syndicated feeds on the channel
- Nickserv
- automatically authenticates with NickServ and handles ghost connection termination and nick recovery
- Url
- http://.. returns the page title and a short url if the original one is too long
- Users
- tracks user mode and presence changes and makes the information available to other plugins
Admin Commands
Notes
- All admin commands should be preceded by <Bot>: , however that can be omitted if you query the bot directly
- Admin commands are restricted to authorized people and/or channel operators, depending on settings
Plugins
- Debug
- mem outputs a memory usage statistics
- JoinPart
- join <Channel> instructs the bot to join that channel
- part [<Channel>] instructs the bot leave the specified channel, or the current one if none is specified
- Puppet
- say <Channel> <Message> makes the bot repeat the message in the target channel
- act <Channel> <Message> makes the bot repeat the action in the target channel
- Commands for this plugin must be issued by querying the bot directly
- Quit
- quit or die makes the bot disconnect from the server
- Toggle
- enable <Plugin> and disable <Plugin> respectively enable and disable a plugin altogether. It won't receive any events.
- mute <Plugin> and unmute <Plugin> respectively mute and unmute a plugin, which affects its ability to output messages, but won't affect its ability to receive events. For instance Logging will continue logging but will not answer seen or heard requests while it is muted.