Qtdancer

From qtnode

Jump to: navigation, search

Contents

Intro

qtdancer is our own channel bot.

She's there to help us give out factoids quickly to users who ask FAQs.

This is a supybot. The main reason for the bot is to relay pastes from the Pastebin to the #qt channel and to store factoids.

Factoids

To learn more about how to use the Factoids plugin go see: http://supybot.com/documentation/plugins/factoids/document_view

Remember, the trigger character for qtdancer is !


Some examples

<luser> !whatis wiki
<qtdancer> luser: [wiki] #qt's very own wiki: http://qtnode.net
<luser> !learn something as blah bleh blee!
<qtdancer> luser: The operation succeeded.
<luser> !whatis something
<qtdancer> luser: [something] blah bleh blee!
<luser> !forget something
<qtdancer> luser: The operation succeeded.
<luser> !whatis something
<qtdancer> luser: Error: No factoid matches that key.

An example using the factoid search. When using the !f command, a search will be made on factoids. Look at this example where an exact match is not necessary to pull up a factoid:

<luser> !f visual
<qtdancer> nuge: [qt4_visual_studio] Yes, you can use Qt4 with Visual Studio compilers 
                 (and create open source software): http://www.qtnode.net/wiki/Qt4_with_Visual_Studio

Rtfm

A custom module has been created to lookup links to the Qt documentation quickly. The trigger command is !rtfm

Some examples:

<luser> !rtfm dialog
<qtdancer> luser: QDialog (Qt 4.1) http://doc.trolltech.com/4.1/qdialog.html

It also can handle slightly misspelled words:

<luser> !rtfm diilog
<qtdancer> luser: QDialog (Qt 4.1) http://doc.trolltech.com/4.1/qdialog.html

You can also specify versions:

<luser> !rtfm 3 dialog
<qtdancer> luser: QDialog (Qt 3.3) http://doc.trolltech.com/3.3/qdialog.html
<luser> !rtfm dialog 3.2
<qtdancer> luser: QDialog (Qt 3.2) http://doc.trolltech.com/3.2/qdialog.html

Misc

So you don't spam the channel, it's best to teach or play with qtdancer in private. Use /query or /msg for this. However, you'll currently have to include the channel in each command. Also you don't need to start each command with a bang. For example:

<luser> /query qtdancer
<luser> whatis #qt wiki
<qtdancer> luser: [wiki] #qt's very own wiki: http://qtnode.net

You might get this message when trying to talk to the bot in private:

Private messages from unregistered users are currently blocked due to 
spam problems, but you can always message a staffer. Please register!
( http://freenode.net/faq.shtml#privmsg )

It only takes a few seconds to register your nick.

Personal tools