Post by mainstreet on Nov 20, 2016 6:33:35 GMT
JaceBot is a Java Bot programmed by mainstreet, but using the pircbot core found at www.jibble.org/pircbot.php
Global commands: These commands will work at any time:
!time -- returns the current time according to voyager.wyvernirc.net
!coin -- flips a coin
!card -- Attempts to retrieve a card from Yawgatog's Oracle Text File (or, rather, a locally stored copy, so the bot may take a while to handle recent updates to Yawgatog). If you spell the card wrong it *may* fail if you are bad enough. Punctuation mistakes are considered misspellings. Capitalization mistakes are not.
!hcard -- Retrieves a card from Hearthstone, using a local database provided by GoldenSandslash.
Game commands: These commands are dependent on playing an MTG game and help you keep score.
!set <life> <poison> <experience> <energy> -- will change all values as applicable. Values MUST be in this order. If there are fewer than 4 values the numbers on the end will not be changed. You must start playing with the !set command (and NOT any specific setter). If you do not set numbers yourself the default is !set 20 0 0 0. WARNING: the !set command will not allow you to set negative values for poison, experience, or energy. You must subtract to obtain negative values in those counters.
!setl <life> and !setL <life> -- sets your life total to the indicated value.
!setp <life> and !setP <life> -- sets your poison counters to the indicated value
!setx <life> and !setX <life> -- sets your experience to the indicated value
!sete <life> and !setE <life> -- sets your energy to the indicated value
Similarly to the specific set commands, !add* and !sub* work to add or subtract a specific amount of life or counters. !+* and !-* work the same way. If you do not specify a value for add or sub, 1 is assumed. If you do not specify a value on the specific set commands, the default is equal to that on !set itself. If you do not specify a letter to indicate type of modification, life is assumed.
!cd <#> <name> -- allows you to set commander damage from any commander. Technically the name argument will accept any string, but you must be consistent. Once you've set it, if you misspell it will create a separate commander slot for the new one. If you don't set a name a generic is used. Using + or - in the # field will add or subtract. Not using a + or - will result in a set request.
!mon makes you the monarch.
!unmon removes the above status.
!bless grants you the city's blessing.
!unbless removes the city's blessing from you.
!scores returns the list of active scores.
!end is used to remove yourself from the game and thus the list of scores.
!clear -- will wipe all scores.
Global commands: These commands will work at any time:
!time -- returns the current time according to voyager.wyvernirc.net
!coin -- flips a coin
!card -- Attempts to retrieve a card from Yawgatog's Oracle Text File (or, rather, a locally stored copy, so the bot may take a while to handle recent updates to Yawgatog). If you spell the card wrong it *may* fail if you are bad enough. Punctuation mistakes are considered misspellings. Capitalization mistakes are not.
!hcard -- Retrieves a card from Hearthstone, using a local database provided by GoldenSandslash.
Game commands: These commands are dependent on playing an MTG game and help you keep score.
!set <life> <poison> <experience> <energy> -- will change all values as applicable. Values MUST be in this order. If there are fewer than 4 values the numbers on the end will not be changed. You must start playing with the !set command (and NOT any specific setter). If you do not set numbers yourself the default is !set 20 0 0 0. WARNING: the !set command will not allow you to set negative values for poison, experience, or energy. You must subtract to obtain negative values in those counters.
!setl <life> and !setL <life> -- sets your life total to the indicated value.
!setp <life> and !setP <life> -- sets your poison counters to the indicated value
!setx <life> and !setX <life> -- sets your experience to the indicated value
!sete <life> and !setE <life> -- sets your energy to the indicated value
Similarly to the specific set commands, !add* and !sub* work to add or subtract a specific amount of life or counters. !+* and !-* work the same way. If you do not specify a value for add or sub, 1 is assumed. If you do not specify a value on the specific set commands, the default is equal to that on !set itself. If you do not specify a letter to indicate type of modification, life is assumed.
!cd <#> <name> -- allows you to set commander damage from any commander. Technically the name argument will accept any string, but you must be consistent. Once you've set it, if you misspell it will create a separate commander slot for the new one. If you don't set a name a generic is used. Using + or - in the # field will add or subtract. Not using a + or - will result in a set request.
!mon makes you the monarch.
!unmon removes the above status.
!bless grants you the city's blessing.
!unbless removes the city's blessing from you.
!scores returns the list of active scores.
!end is used to remove yourself from the game and thus the list of scores.
!clear -- will wipe all scores.