Squeaky

Who is Squeaky

Squeaky is a protocol droid on #pmwiki. If you talk to him, he talks to you. He won't talk to you or do anything unless adressed. Like wix, he remembers stuff that is said, but that's not his primary purpose. His primary function is to help you copying stuff from #pmwiki to a PmWiki-Site. The correct syntax for this is

squeaky: append ... n ... [to [Group.]Pagename] [at http://URL]
squeaky: prepend ... n ... [to [Group.]Pagename] [at http://URL]

where

append
means to paste the IRC log at the end of the page
prepend
means to paste the IRC log at the beginning of the page
...
Can just be any text (that doesn't contain numbers)
n
Means that the last n lines of the chat will be pasted.
Group
Is the target WikiGroup. Default is IRC.
Pagename
Is the target WikiPage. Default is Incoming
URL
is the URL of the target PmWiki-Installation. Default is http://www.pmichaud.com/wiki

Code Base

Squeaky is an Infobot version 0.45.3 with some extensions. The extensions are contained in the file extras/myRoutines.pl which you can get from http://www.knappi.org/squeaky/myRoutines.pl.txt PM also changed the markup for the group IRC to highlight Squeaky's pastings correctly:

$DoubleBrackets['/^<(.*?)>\\s+(.*?)$/'] =
"|| <%ircnick%{{~$1}}%%>||%irctext%$2%%||";

and

$WikiStyle['ircnick']['font-weight']='bold';

Examples

Here are some examples of how he can help you:

knappi:squeaky: append the last 3 lines to Profiles.Squeaky
squeaky:knappi: Done! Now clean it up at: http://www.pmichaud.com/wiki?pagename=Profiles.Squeaky
knappi:squeaky: append the last 3 lines to Main.IRCDumpster at http://www.knappi.org
squeaky:knappi: Done! Now clean it up at: [(approve links) edit diff]
knappi:squeaky: prepend the last 3 lines
squeaky:knappi: Done! Now clean it up at: http://www.pmichaud.com/wiki?pagename=IRC.Incoming
knappi:squeaky: append the last 10 lines to Profiles.Squeaky
squeaky:knappi: Done! Now clean it up at: http://www.pmichaud.com/wiki?pagename=Profiles.Squeaky
knappi:squeaky: append the last 10 lines to Profiles.Squeaky
squeaky:knappi: Done! Now clean it up at: http://www.pmichaud.com/wiki?pagename=Profiles.Squeaky

You can add answers for Squeaky here: Every line on this page starting with "Answer: " will be used as an answer eventually.

Answer: I'm finished pasting, WHO. You should go to URL and do a little cleaning.

Answer: Yuhu. I've done it! Your stuff is on URL

Answer: Ok, it's there. Go to URL and see if you like it.

Answer: Done. - ... - What? You want to know where? I'm not telling you. Go find it yourself... Alright. URL

Answer: *whispering* Psst - WHO - don't tell anybody, but I copied your stuff to URL