Post by Admin on Aug 2, 2014 16:55:12 GMT
Part of the fun in this project is that I get to learn a bit of programming from the ground up! Because I'm not a programming getting functionality into the irc bot is going to be a labor of love, and of time. Here is a break down of the stuff that I have up and running on the bot so far and how to use it (if it's meant to be used by players).
Dice
Able to roll random numbers for quests and pc vs. pc combat if they're called for.
The command:
!roll (number of dice)d(number of sides)+/-(dice modifier)
Example:
!roll 1d6 (will roll one six sided die)
!roll 1d6+4 (will roll one six sided die then add 4 to the resulting number)
!roll 1d6-4 (will roll one six sided die then subtract 4 to the resulting number)
Please note that there is no space between the 1d6 and the subtraction or addition symbols. Also note that it's just a stand alone dice roller for the time being. Once I get a database up and connected with the bot, then I'll work on writing something that will allow for automated rolls, then be able to play around with stats a bit more to give odds of double attacks, off hand hits, crit attacks and a slew of other fun things to the game.
Note storage
The bot has the ability to now store notes. This can be used to hold a wide variety of information on character stats, abilities, picture urls, you name it.
Commands:
!keywords # list all definitions
!keyword? <keyword> # show single definition
!keyword <keyword> <definition> # define without spaces
!keyword '<keyword>' <definition> # define with spaces
!keyword "<keyword>" <definition> # define with spaces
!forget <keyword> # remove definition
<keyword> # display definition
Example:
Last night I wanted to have something where I could reference Cadel's stats without having to tab out and look at his character sheet. Since there's not database integration, I have to make a note about it to reference later.
Example command to make the note:
!keyword "Cadel stats" HP:10 EP:10 Patk:8 Pdef:8 Matk:5 Mdef:8 Agi:5 Will:6
This will create a note on a file that can be retrieved later by just typing Cadel stats without a '!'. Do be careful not to just use a char name as the reference since that will make the bot spit out that information every time someone typed that character name in icly. This command can be used in PM with the bot and not just in open channel.
Logging
Bot does support logging and no.. you don't get to peek at the files!
Dice
Able to roll random numbers for quests and pc vs. pc combat if they're called for.
The command:
!roll (number of dice)d(number of sides)+/-(dice modifier)
Example:
!roll 1d6 (will roll one six sided die)
!roll 1d6+4 (will roll one six sided die then add 4 to the resulting number)
!roll 1d6-4 (will roll one six sided die then subtract 4 to the resulting number)
Please note that there is no space between the 1d6 and the subtraction or addition symbols. Also note that it's just a stand alone dice roller for the time being. Once I get a database up and connected with the bot, then I'll work on writing something that will allow for automated rolls, then be able to play around with stats a bit more to give odds of double attacks, off hand hits, crit attacks and a slew of other fun things to the game.
Note storage
The bot has the ability to now store notes. This can be used to hold a wide variety of information on character stats, abilities, picture urls, you name it.
Commands:
!keywords # list all definitions
!keyword? <keyword> # show single definition
!keyword <keyword> <definition> # define without spaces
!keyword '<keyword>' <definition> # define with spaces
!keyword "<keyword>" <definition> # define with spaces
!forget <keyword> # remove definition
<keyword> # display definition
Example:
Last night I wanted to have something where I could reference Cadel's stats without having to tab out and look at his character sheet. Since there's not database integration, I have to make a note about it to reference later.
Example command to make the note:
!keyword "Cadel stats" HP:10 EP:10 Patk:8 Pdef:8 Matk:5 Mdef:8 Agi:5 Will:6
This will create a note on a file that can be retrieved later by just typing Cadel stats without a '!'. Do be careful not to just use a char name as the reference since that will make the bot spit out that information every time someone typed that character name in icly. This command can be used in PM with the bot and not just in open channel.
Logging
Bot does support logging and no.. you don't get to peek at the files!