# Quotegrabs * [About](#about) * [Commands](#commands) * [grab](#grab) * [getq](#getq) * [rq](#rq) * [delq](#delq) ## About PBot can grab user messages and store/recall them for posterity. This document describes the Quotegrabs plugin. ## Commands ### grab Grabs a message someone says, and adds it to the quotegrabs database. You may grab multiple nicks/messages in one quotegrab by separating the arguments with a plus sign (the nicks need not be different -- you can grab multiple messages by the same nick by specifying a different history for each grab). You can use the `recall` command to test the arguments before grabbing (please use a private message). Usage: `grab [history [channel]] [+ ...]` where [history] is an optional argument regular expression used to search message contents; e.g., to grab a message containing the text "pizza", use: grab nick pizza Clowns are scary. !grab bob clowns Quote grabbed: 1: Clowns are scary. Please put that in the right place. That's what she said! !grab alice place + bob said Quote grabbed 2: Please put that in the right place. That's what she said! I know a funny programming knock-knock joke. Knock knock! Race condition. Who's there? !grab charlie knock + charlie race + charlie there Quote grabbed 3: Knock knock! Race condition. Who's there? ### getq Retrieves and displays a specific grabbed quote from the quotegrabs database. Usage: `getq ` !getq 1 1: grabbed by pragma- in #channel on Wed Dec 31 16:00:00 1969 [50 years and 21 days ago] Clowns are scary. ### rq Retrieves and displays a random grabbed quote from the quotegrabs database. You may filter by nick, channel and/or quote text. Usage: `rq [nick [channel [text]]] [-c,--channel ] [-t,--text ]` ### delq Deletes a specific grabbed quote from the quotegrabs database. You can only delete quotes you have grabbed unless you are logged in as an admin. Usage: `delq `