calc

From Cppwiki

Jump to: navigation, search

"calc" is a procedure, employed in-channel, whereby users with the appropriate permissions can provide help and information in response to a request. The term "calc" also refers to the command used to invoke these responses, and occasionally to the responses themselves.

New users are advised to query the bot in a private message, as they are unable to do so in the channel. This is to prevent bot abuse.

Contents

Basic Bot commands

calc

The most used command, and also the most useful. Anyone can use this command (however USERS-level users can only message the bot) in order to see the corresponding "calc" for a given key.

 <SomeUser>  calc evil arrays
 <NotABot>   evil arrays = Fixed-sized arrays are occasionally useful for buffers of a prearranged
             size. But if you're even thinking of dynamic allocation, try std::string, std::deque, or
             std::vector instead. They're easier to use and they clean up after themselves. More
             information: http://www.parashift.com/c++-faq-lite/containers-and-templates.html#faq-34.1

apropos

This command searches the calc database for a "calc" that contains the parameters.

 <SomeUser>  apropos C++
 <NotABot>   found: "!char" "!tut" "!tutorial" "#C" "#c++" "#c++ album" "#c++ books" "#c++
             faq" "#c++ mission" "#c++ stats" "#C++ Wiki" "#c++books" "#c++rules" "#C++source"
             "#c++_on_topic" "#generalhelp" "#help" "&" "++C" "1-100" "21days" "2c" "400KB" "4786" "98
             draft" "accu" "ace" "acllc-c++" "activex++" "afraid++" "allegro" "allocation symmetry"
             "answer this3" "ap" "arg" "arg2" "arm" "array bounds" ...

more

This allows the bot to respond with more results from an apropos command.

 <SomeUser>  more
 <NotABot>   found: "arraysize" "asio" "ask msg" "assert int" "astyle" "austern" "backslash"
             "bad pointer" "bad printf" "bad_books" "barton" "bcbhelp" "bjarne" "blame c++"
             "blitz++" "bofh" "bool" "boost" "Boost.Filesystem" "borland" "borland config"
             "breymann" "bshw" "budd2" "C" "c#" "c++" "c++ realloc" "C++ Source" "C++ Success"
             "c++ support" "c++ tutorial" "c++ unit" "c++ wiki" "c++03" "c++09" "c++0x" ...

help

This command allows context sensitive help to be sought.

<SomeUser>  help
<NotABot>   Available commands for level USER: status help aproposv aproposk version apropos
            owncalc calc more

Levels of Calc Privileges

USER Calc Privileges

USER This user has USER calc privileges
calc

Most people on the channel are at this privilege level. On this level, users may only use the calc bot while engaging in direct messaging with the calc bot.


PUBLIC Calc Privileges

PUBLIC This user has PUBLIC calc privileges
calc

Users on this level are more often than not channel regulars. They have shown their commitment to helping other users on the channel and are thus allowed to use the calc bot in the channel. This allows them to answer questions directly using the bot. This level also allows the user to tell users calc entries.

CHANGE Calc Privileges

CHANGE This user has CHANGE calc privileges
calc

This user is known to have a good understanding of the C++ language and the needs of #C++, so they have the power vested in them to change the bots responses to keywords.

AUTH Calc Privileges

AUTH This user has AUTH calc privileges
calc

This level of calc privileges doesn't provide anything over CHANGE.

GOD Calc Privileges

GOD This user has GOD  calc privileges
calc

This is the highest level of calc privilege. This level donates that channel operators that run the bot. These users are able to increase any users calc level to AUTH.

Representation of Calc Privileges

On this wiki, each user's page has their level of "calc" permission denoted by one of the tags to the right.

Personal tools