NAME

Bot::IRC::Functions - Bot::IRC add maybe helpful functions to the bot

VERSION

version 1.39

SYNOPSIS

use Bot::IRC;

Bot::IRC->new(
    connect => { server => 'irc.perl.org' },
    plugins => ['Functions'],
)->run;

DESCRIPTION

This Bot::IRC plugin adds what might be helpful functions to the bot. Commands include:

ord <character>

Convert a character into its ASCII number equivalent.

(chr|ascii) <number>

Convert a number into its ASCII character equivalent.

rot<number> <string>

Inspired by ROT13, this function will transpose letters based on the sequence of the alphabet and by the number provided.

rot13 hello
rot42 hello again

ROT13 is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet.

crypt <string> [<salt>]

This method will encrypt using crypt a string. If the salt is not provided, it will be randomly generated.

SEE ALSO

Bot::IRC

AUTHOR

Gryphon Shafer <gryphon@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016-2050 by Gryphon Shafer.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)