Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- current stable version | "v033115 Shurima's Legacy" |
- current nightly version | "v033115 Shurima's Legacy" |
- below is archived.
- Request new features here:
- https://docs.google.com/spreadsheets/d/1ksqTjtqTFDqjvJVqoamXv4FfDCRQKBRX3I0ZGsZ25y4/edit?usp=drive_web
- Thank you to my donators.
- {
- cyoung_mi - $20
- TheBigShakuna - $5, $10
- m08d15y76 - $10
- LittleChook - Many things.
- }
- Notes
- {
- Comodo Firewall will screw up installation.
- Please have Comodo ignore the .jar's folder.
- }
- Released in v030715
- {
- UGHHHH. I UPLOADED THE WRONG PROJECT LAST NIGHT. SORRY.
- Notes:
- Still busy.
- Parasite:
- Vocal now controls all the parasite's messaging.
- $n bugs:
- Should be fixed now.
- Try out combinations of $n and regex and such, there might be weird errors.
- If you see one, tell me so I can fix it!
- }
- Released in v022815
- {
- Notes:
- Okay guys, I told you there would come a day when I'd be unable to put time into this project.
- I'm working over 40 hours a week on top of also being a full time student right now, and
- by my estimations, I have about 9 hours per week to do things besides be in class/at work/sleep.
- That means 9 hours per WEEK to eat, do homework, relax, etc etc.
- I used to have 9 hours a day to do that stuff.
- Anyways, I'm super busy, this will be on the backburner.
- I'm still supporting it, just can't push out updates.
- If you NEED something done, talk to me and we'll see.
- Strict PointSystem:
- So if you can't trust your mods, I created a strict option on the pointsystem (defaults to off).
- When you turn it on ("!pointstrict on" or modify .points file), it will disallow mods from doing admin-only features like !pointaward. This is mostly so mods can't abuse and give themselves free points.
- Command System Plus:
- List! This is cool. You can have your commands do a list of things.
- First time command is called, it will do item_1. Then item_2, then _3, then _4, etc.
- It will wrap around once it finishes.
- Separate your list items with a "$l" delimiter.
- Stagger your timed messages by calling Commands if you want.
- Example Command: "!test", "<list>a$lb$lc$ld</list>"
- Example output:
- a5vastra > "!test"
- a5vbot > "a"
- a5vastra > "!test"
- a5vbot > "b"
- a5vastra > "!test"
- a5vbot > "c"
- a5vastra > "!test"
- a5vbot > "d"
- a5vastra > "!test"
- a5vbot > "a"
- a5vastra > "!test"
- a5vbot > "b"
- Checkin Award:
- No one uses check in really, but it's a great way to find who is active in chat.
- It's like a raffle but everyone who enters wins!
- Learn how to use the check-in system by yourself or ask me later, I won't write it here.
- https://docs.google.com/document/d/1PXeNcSwnV8_JeNM3rv-UEY9OUzNoWOJhWHbGpq6rTY0
- Anyways, new command: "!checkinaward 5" gives everyone who checked in 5 points!
- This might flood chat. Sorry, it makes sense to flood chat rather than be silent in my opinion.
- }
- Released in v021715
- {
- Chat Console V2:
- Autoscroll
- Bankheist:
- Load and Save. (Currently disabled, but coded in)
- Raffler:
- !rafflemultienter on/off
- You can let people multienter or not with this command.
- Untested, don't know how well or not it works.
- Point Tracker:
- !pointrank <name>
- was bugged, fixed.
- Greeter:
- Special greetings don't count towards 3 greetings / 30s rule.
- }
- Released in v021315
- {
- Command System Plus:
- Read:
- Improved. You can now read from local files as well as webfiles.
- "<read>file://a5vastra.rankings</read>" will read the file "a5vastra.rankings" from your .bot's folder.
- It ignores all new lines from your file (this is a plus), so feel free to use new lines for your own readability purposes.
- Addon Commands:
- Added your own bot commands / timed messages.
- Regex ones will not appear here, as they are formatted a different way.
- Point Tracker:
- new command: !logpointrank top <numberHere>
- example: "!logpointrank top 5"
- Same as pointrank top 5, but it will create the file in your folder.
- The file name is "<yourBotOwnerNameHere>.rankings"
- }
- Released in v021115 (Rereleased at 2304hrs PST)
- {
- NOTE:
- Might not be stable, I'm not exactly sure.
- Either way, I'm pushing this update out right now because I think you will love it.
- If this new version crashes on you, revert to the old one here https://dl.dropboxusercontent.com/u/17018269/a5vbot/020815.jar
- Been experiencing odd follower bug: something is wrong with Twitch API. If the bot says like 100 follower notifications, sorry. This looks like entirely twitch's fault. I've made a couple patches I'll release tonight.
- Quoter Bugfix:
- It didn't know how to count, hopefully it does now.
- Predictions:
- Sometimes viewers like to guess about what is going to happen in the near future.
- Instead of having them pull out their stopwatches,
- I thought it would be nice to add functionality that lets the entire stream know what
- the prediction was, and when it was made.
- All the predictions are made in the same way, and must include a 'prediction' and a 'predicted time'.
- The bot counts once each second, and ticks each prediction one by one.
- There is no message at the time when the actual time exceeds/equals the predicted time.
- commands:
- !prediction [predictionHere] minutesHere
- ex: !prediction [a5v astra will finish the level] 4
- means "I predict that a5v astra will finish the level in 4 minutes"
- !predictioncheck
- means "Check the prediction that I made earlier"
- !predictioncheck nameHere
- ex: !prediction a5vastra
- means "Check the prediction that a5vastra made earlier"
- !predictionend
- means "End the prediction that I made earlier"
- ending means you can no longer access that prediction later.
- !predictionend nameHere
- ex: !predictionend a5vastra
- means "End the prediction that a5vastra made earlier"
- ending means you can no longer access that prediction later.
- !predictionpause
- !predictionresume OR !predictionunpause
- <admin only>
- pauses/resumes the prediction timer. use this if you take a break and afk or something.
- !predictionclear
- <admin only>
- clears all predictions.
- Help:
- Added a list of commands for each function. Typing "!help raffler" will tell you all commands for the raffler.
- Typing "!help" will give you a list of all different "!help <addon>"s available.
- Chat Console v2:
- A chat/event log.
- This will auto-open with the bot. Closing it only hides it.
- Reopen it again with a '!chatconsole' command.
- There are a couple menu options:
- >Edit>Clear
- >View>Message Log
- >Event Log
- You can enter chat and command from the new chat console.
- Addon Commands:
- Gives full access to every command, from the GUI.
- }
- Released in v020815
- {
- Command System Plus additions:
- These are all command extensions, to be used in the Command System.
- format for examples is "!command", "message"
- all examples are example usage. you can change the command/message if you want
- just learn to use my format.
- random:
- allows you to randomly switch between messages.
- ex:
- "!random", "123<random>$ra$rb$rc$rd</random>456"
- user> !random
- bot > 123b456
- user> !random
- bot > 123c456
- user> !random
- bot > 123b456
- user> !random
- bot > 123d456
- rng:
- allows you to generate a random number between two numbers
- lowerbound:upperbound
- ex:
- "!rng", "<rng>1:10</rng>"
- when user says !rng, bot says a random number between 1:10
- user> !rng
- bot > 1
- user> !rng
- bot > 6
- user> !rng
- bot > 2
- "!rng2", "!pointaward a5vastra <rng>1:100</rng>"
- when user says !rng2, bot gives a5vastra between 1:100 points
- "!rng3", "!pointaward $u <rng>1:100</rng>"
- when user says !rng3, bot gives the user between 1:100 points
- math:
- A really crappy math engine. only works with integers.
- Sequentially does one operation at a time. ignores order of operations.
- I don't feel like downloading/using someone else's library,
- and the alternative is to use Dijkstra's Shunting Yard algorithm,
- which I don't feel like implementing. Maybe later.
- ex:
- "!math", "<math>1+2</math>"
- user> "!math"
- bot > "3"
- "!math2", "<math>1+2*3</math>"
- user> "!math2"
- bot > "9" NOTE. it does (1+2)*3. reads left to right, ignores order of operations.
- below is an example of fahrenheit to celsius conversions
- "<regex>!ftoc (<g1>\d+)</regex>", "$g1f = <math>$g1-32*5/9</math>c"
- "<regex>!ctof (<g1>\d+)</regex>", "$g1c = <math>$g1*9/5+32</math>f"
- user> "!ftoc 212"
- bot > "212f = 100c"
- user> "!ctof 100"
- bot > "100c = 212f"
- below is an example of any math operation.
- "<regex>!foo (?<g1>\d+)(?<g2>\+|\-|\/|\*|\^)(?<g3>\d+)</regex>", "<math>$g1$g2$g3</math>"
- user> "!foo 1+2"
- bot > "3"
- user> "!foo 4^3"
- bot > "64"
- }
- Released in v020715
- {
- Dropbox:
- !upload <filename here>
- uploads your file to my dropbox. the bot will message the link to the dropbox file.
- !uploadsilent <filename here>
- uploads your file to my dropbox. the bot will NOT message the link to the dropbox file.
- if you want this to happen every minute or so, make it a timed message.
- Greeter:
- Bot will no longer spam greetings. Limited to 3 per 30s. Might this miss some people? Yes. Too bad.
- Bet:
- !betshow is now a command.
- BankHeist:
- I have no idea how this is supposed to work, so here is my implementation.
- The higher that total wager, the higher level bank they will be able to hit.
- The higher level banks will have lower winrates, but higher rewards.
- There is a set winrate/loserate/failrate.
- If the winrate is 27.5% and loserate is 40%, and 10 people enter,
- 3 will win and 4 will lose.
- The losers lose all their wager.
- The winners win BACK their wager*bankRewardMultiplier.
- The bot picks a random number between 0.0 and 1.0
- If that number is LOWER than the failrate, then EVERYONE loses.
- You will be able to set your own bank level names/winrate/loserate/minTotalWager.
- commands:
- !bankheist
- wagers 1 in the bankheist, or adds 1 to current bankheist
- !bankheist <wager>
- wagers <wager> in the bankheist, or adds <wager> to current bankheist
- ex: !bankheist 10
- !bankheistshowdown OR !heistshowdown
- admin/mod only
- ends the bankheist
- Poller:
- Used to say <admin> started the poll, even if it was a mod.
- Timed Messages:
- <command> tag now works with timed messages. you can make timed messages trigger commands.
- WARNING: If you don't use <command> tag and you try this,
- your bot will get screwed into an infinite loop.
- }
- Released in v020415 ! Updated at 1820hrs PST GMT+8 time on 020415
- {
- Autoload:
- Let's be honest, setting up was a huge pain. Starting in v020415, I made some improvements.
- There are three new situations the bot checks on load:
- 1) There are no .bot files in the folder.
- Ask the user if they want help setting up.
- Prompt user three times for channel/botname/oauth.
- Load the save and load the .bot file they just made.
- 2) There is exactly one .bot file in the folder.
- Automatically open and load it.
- 3) There is more than one .bot file in the folder.
- Prompt user to pick a .bot file to load, using a dropdown menu.
- Load the file.
- Point rank:
- !pointrank <nameHere>
- Bot will find and return the ranking of the named account, if it exists.
- !pointrank
- Bot will find and return the ranking of the sender.
- !pointrank #<numberHere>
- Bot will find and return the ranking of the account at rank specified, if valid.
- !pointrank top <numberHere>
- Bot will find and chat (as much as it can in one line)
- the status of the top 5 or whatever rated accounts.
- example:
- astra> !pointrank
- bot > astra is ranked #1 of 145, with 1325 points, which is top 100%!
- chook> !pointrank
- bot > chook is ranked #43 of 145, with 427 points, which is top 71.7%!
- astra> !pointrank chook
- bot > chook is ranked #43 of 145, with 427 points, which is top 71.7%!
- astra> !pointrank #1
- bot > astra is ranked #1 of 145, with 1325 points, which is top 100%!
- astra> !pointrank #137
- bot > condensate is ranked #137 of 145, with 0 points, which is top 6.21%!
- astra> !pointrank top 3
- bot > here are the top 3 ranked:
- a5vastra(#1, 1325) maxmunchu50(#2, 765) fearinsidiouslol(#3, 551)
- Parasite/Autohost:
- Now more options in the .parasite file.
- Control/customize these by placing the example commands in the file.
- Period:
- You can change the period by typing "period: 15" in the .parasite file.
- It's in minutes, so 15 is 15 minutes. The bot won't allow a lower period than 10 mins.
- Vocal:
- You can turn off the 1 and 5 minute warning by typing "vocal: off" in the .parasite file.
- Priority:
- There are three types of priorities. I haven't tested these out, so it's up to you to test.
- Type 1: none:
- Bot will randomly see who is on and randomly pick one.
- Type 2: ordered:
- Bot will see who is on, going from top to bottom.
- As soon as it finds an online channel, it will host it.
- Type 3: grouped:
- Bot will see who is on, going from top to bottom.
- As soon as it finds an online channel, it will add it to a list.
- As soon as it finds a line with nothing on it, it will check the list.
- If there is nothing in list, then it continues scrolling down.
- If there is channels in the list, it will randomly host one of them.
- "priority: none" "priority: ordered" "priority: grouped"
- Also, some twitchtv chat commands for parasite:
- !!parasiteenable!!
- enables the parasite
- !!parasitedisable!!
- disables the parasite
- !parasiterefresh
- automatically searches for a new channel to host (might choose the same one).
- !parasitecheck
- displays all online streams
- Note:
- If you have a grouped/ordered priority, when it says all online streams, it will be incorrect.
- If grouped, it will only show online streams from the highest level group.
- If ordered, it will only show the highest level stream.
- }
- Released in v020315
- {
- Queuer:
- Added the ability to queue multiple at once.
- !queuenext 5
- will queue off the top 5 people.
- }
- Released in v013115
- {
- Offline points:
- The bot will check if you are on or offline every 5 minutes.
- If you are online, it will give your "regular" points.
- If you are offline, it will give your "offline" points.
- !pointofflinereward 5
- will change your point reward (when offline) to 5.
- }
- Released in v013015
- {
- Capitalization no longer matters for .bot file's channel/account
- Finally I fixed that.
- Documentation/Code update for PARASITE system
- You queue up a list of channels to host. It will randomly select one from your list that is ONLINE.
- To create your list:
- Create a plaintext file named "yourName.parasite". Mine is called "a5vastra.parasite".
- Place it in the same folder as the .jar
- Place the name of each twitchtv channel you want to host on a new line
- example:
- a5vastra
- littlechook
- To activate this, say "!!parasiteenable!!" into chat while bot is active.
- The parasite will take over your stream, go ahead and afk if you want.
- The bot will then say into chat "!host channelNameHere", and your twitch.tv will begin hosting them.
- It will switch every 10 minutes to a new channel to host.
- This is useful for redirecting people to your friends' streams when you are offline.
- Disable it with the command "!!parasitedisable!!". You will get full control of your stream back.
- If you place "period: 61" in your parasite file on its own line, the bot will read and use that instead of default 10 minute period. 61->61 minutes.
- NOTE: for this to work, you need to go to your twitchtv dashboard>editing and add your bot as an editor
- Sorry, twitch's fault, not mine. http://blog.twitch.tv/2014/07/host-mode-faq/
- }
- Released in v012715
- {
- Bet System
- You can now close the bet from further entries with !betclose.
- You cannot open until you begin a new bet.
- }
- Released in v012115
- {
- !raffleprizes
- shows the list of the prizes
- !raffleprizes [a] [b] [c] blahblahblah [d]
- creates a new prize list.
- any amount of prizes.
- place prize names in [ ].
- anything not in [ ] will be ignored.
- The last element will be given first, then deleted from the list.
- !rafflewinners
- shows everyone who has won a prize
- }
- Released in v012015
- {
- New feature:
- Queuer
- more info coming later.
- }
- Released in v011615
- {
- Bugfix:
- Several minor bugfixes.
- I don't even know what.
- Cleaned up code for responder.
- Cleaned up pointtracker a bit. For admins who use !pointaward, correctly state who used command.
- Added more cases to hi bot.
- Command System PLUS:
- This is straight up amazing.
- You can now do almost unlimited things with the command system.
- Regular command:
- Use case: When I say "X", have the bot say "Y".
- Example : "!test1", "this is a test"
- user : "!test1"
- bot : "this is a test"
- Multiline command:
- Use case: When I say "X", have the bot say "A", then "B", then "C".
- How to : Place $n anywhere you want a new line to start.
- Example : "!test2", "A$nB$nC"
- user : "!test2"
- bot : "A"
- bot : "B"
- bot : "C"
- Lookup command:
- Use case: When I say "X", I want the bot to look up a website and say what it finds.
- How to : Place the webfile to read from inbetween <read> </read> tags.
- Example : "!test3", "this is read from website: <read>http://pastebin.com/whgi63Wc</read>"
- user : "!test3"
- bot : "this is read from website: this is a test from pastebin"
- $u User Substitution:
- Use case: When I say "X", I want the bot repeat my name somewhere.
- How to : Place a $u in the message.
- Example : "!test4", "$u just asked me to test."
- user : "!test4"
- bot : "user just asked me to test."
- Regular Expressions:
- Use case: Any string or pattern matching thing possible.
- How to : Place regex between <regex> </regex> tags in the command. Not the message.
- Example : "<regex>!regextest (\d+)</regex>", "you entered a number"
- "<regex>!regextest (\w+)</regex>", "you entered a letter"
- "<regex>!regextest a(.*)b</regex>", "a string starting with a and ending with b"
- user : "!regextest 5"
- bot : "you entered a number"
- user : "!regextest asdf"
- bot : "you entered a letter"
- user : "!regextest a23ibriwfj9df9sdfsjdb"
- bot : "a string starting with a and ending with b"
- user : "!regextest asdfb"
- bot : "you entered a letter"
- bot : "a string starting with a and ending with b"
- Regular Expressions with Groups:
- Use case: Match a string and use it in the command.
- How to : Name pattern by changing (pattern) to (?<gX>pattern), where gX is g0, g1, g2..g9
- Example : "<regex>!follow (?<g1>\w+)</regex>", "hey guys, give $g1 a follow!"
- "<regex>number1 (?<g1>\d+), number2 (?<g2>\d+)</regex>", "$g1 and $g2"
- user : "!follow asdf"
- bot : "hey guys, give asdf a follow!"
- user : "number1 23 number2 41"
- bot : "23 and 41"
- user : "number1 a number2 41"
- bot <no response>
- Admin only command:
- Use case: Commands are now stronger. You might not want everyone to be able to use some.
- How to : Place <adminonly> in the message. This tag will not appear in the message.
- Example : "!test5", "anyone can use this"
- "!test6", "this is admin only <adminonly>"
- user : "!test5"
- bot : "anyone can use this"
- admin: "!test5"
- bot : "anyone can use this"
- user : "!test6"
- bot <no response>
- admin: "!test6"
- bot : "this is admin only"
- Reanalyze as Command:
- Use case: Use one personA's command1 to proc command2, as if personA said command2.
- How to : Place <command> tag in the message. This tag will not appear in the message.
- Example : "!test7", "Seventh test $u"
- "start test 7", "!test7"
- "!test8", "Eighth test $u"
- "start test 8", "!test8<command>"
- user : "!test7"
- bot : "Seventh test user"
- user : "start test 7"
- bot : "!test7"
- bot : "Seventh test bot"
- user : "!test8"
- bot : "Eighth test user"
- user : "start test 8"
- bot reads this command, and internally changes it to "!test8"
- bot : "Eighth test user"
- Protection:
- Note: this is still barely supported, but I included it anyways as a test.
- It will save/load to a file, but it doesn't in this version.
- Commands:
- !enable protection
- enables the protection
- !disable protection
- disables the protection
- (the following commands do just what you'd think they do.)
- !protectionmaxcaps <maxCaps>
- !protectionmaxwordlength <maxWordLength>
- !protectionmaxsymbols <maxSymbols>
- !protectionmaxmessagelength <maxLength>
- !protectionmaxemotes <maxEmotes>
- note: you can leave out the "protection" if you want.
- so "!maxcaps 5" does the same thing as "!protectionmaxcaps 5"
- }
- Released in v011515
- {
- Bugfix:
- Several bugfixes.
- I don't even know what.
- Responder:
- Added "notice me senpai" custom response for Zofeeuh.
- "Broken" command isn't working right and is thus disabled.
- Works with botname now. Have to use the full botname though (or bot).
- Multiline Commands:
- "!test", "a$nb$nc" will make the bot say "a", then "b", then "c" on new lines.
- This will be VERY useful later.
- Quote:
- the following are admin only
- !addquote <!command> <quote>
- adds quote. I'm too tired to write a better description for this.
- !addquotenew <quote>
- looks through and writes a new quote, autogenerating a command for it.
- !addquotedate <!command> <quote>
- adds a quote as before, stores with a date.
- !addquotedatenew <quote>
- combines addquotenew and addquotedate
- the following can be used by anyone
- !quote
- gets a random quote
- !<quotecommand>
- gets that command
- Point:
- !pointgive fixed.
- Mods:
- Mod command should finally work. This is verified.
- You can do !modcheck to have bot show you the mods it sees.
- }
- Released in v011015
- {
- Bugfix:
- Raffler wouldn't start.
- Bot now logs changes to pointname/messages/rewards/minutes
- Points:
- Name your points with custom casing by editing the .points file.
- Otherwise, all pointnames will be forced to lowercase.
- All !pointXXXXX commands can now be replaced by your point name.
- }
- Released in v010915
- {
- Several bugfixes:
- Raffler private follower-only check was incorrect
- Unclaimed prizes could restart multiple raffles.
- }
- Released in v010615
- {
- RNG:
- This was already in the code, but I had forgot about it.
- command:
- !rng <max>
- generates a number between 0 and <max>, {n: 0 <= n < max}
- !rng <min> <max>
- generates a number between <min> and <max>, {n: min <= n < max}
- Custom !PointCheck:
- Lets say your name for a point is a "coin".
- !pointcheck will tell a user how many points they have.
- Now, !coincheck will also work. Or more generally
- !<pointname>check
- Note: the "check" at the end is optional. This also works. !<pointname>
- Now, I'm aware that it's possible that your <pointname> will overlap with some other command.
- If it does, tough luck. Choose a better pointname, sorry.
- Quote Database:
- Saves to <yourname>.quotes
- This has a VERY particular format.
- This is my actual code for it.
- "^!addquote !(\\w+) ([\\w\\s-\",'\\./:]+)$"
- it means this:
- STARTS WITH: "!addquote "
- THEN : "!"
- THEN : a word
- THEN : " "
- ENDS WITH : repeat any of the following: {letter, space, -, ", comma, ', period, /}
- The following characters are NOT supported:
- + < > ? @ # $ % ^ & * ( )
- Don't add them to your quote or it won't work.
- I could add them if I wanted, but I doubt it's worth the hassle.
- example usage:
- admin says> !addquote !quote2 "in 2042, columbus will sail the ocean blue" - a5vastra 1974
- admin says> !addquote !asdf The Soothsayer said: "Beware the ides of March"
- someone says>!quote2
- bot says> "in 2042, columbus will sail the ocean blue" - a5vastra 1974
- someone says>!asdf
- bot says> The Soothsayer said: "Beware the ides of March"
- admin says> !quoteshow
- bot say> !quote2 !asdf
- note:
- It's possible you can overlap commands with this. It doesn't necessarily have to be a quote.
- Your call. Use it how you will, I don't particularly care.
- Bugfix:
- !pointsname and the other new !points were using Regex Group 1 instead of 2.
- }
- Released in v010515
- {
- PHP Lookup commands:
- In your commands, you can read from websites.
- It's fairly limited though, it can probably read large websites but it will look really stupid.
- usage:
- command:
- "!test", "this is a file: <read=http://pastebin.com/raw.php?i=whgi63Wc>"
- the file at http://pastebin.com/raw.php?i=whgi63Wc says "this is a test from pastebin"
- when the command !test is called, the output is:
- "this is a file: this is a test from pastebin"
- Use this to read from websites.
- Mods can use !commands:
- Needs testing.
- The following people had admin rights for any implementation of a5vbot:
- The owner
- The bot
- a5vAstra
- This means that any admin-only command could only be used by them.
- Example of an admin-only command: !rafflebegin
- This new version should allow any moderator of the channel to also use these commands.
- Custom events to trigger +points:
- Previously, a point was given if
- 5 minutes had passed since last point AND
- 5 messages had been sent from user
- This new version should allow you to change the amount of minutes/messages needed.
- You cannot set the minutes needed below 1.
- There is no planned GUI for this.
- To change, type in this command:
- !pointminutesrequired <minutes>
- !pointmessagesrequired <messages>
- There are also shortcuts. You can say "p" instead of "points"
- !pminutesrequired <minutes>
- !pmessagesrequired <messages>
- And you can omit the "required"
- !pointminutes <minutes>
- !pminutes <minutes>
- !pointmessages <messages>
- !pmessages <messages>
- example usage:
- !pointminutesrequired 10
- !pointmessagesrequired 0
- would make the user get a point reward every 10 minutes.
- Custom name for points:
- Sometimes the bot mentions "points". You can customize this to be whatever you want.
- Let's say you wanted your points to be "a5v_coins".
- The bot should check plurality for you, so PLEASE don't name your points plural.
- If you do, you might end up with a message like this:
- "a5vbot awards a5vastra 10 a5v_coinss"
- I check if there should be an s on the end.
- "1 coin" is correct, "1 coins" is not.
- "2 coins" is correct, "2 coin" is not.
- I check. PLEASE don't name your points something plural. If you do, it's your fault.
- Needs testing.
- There may be a place or two where the bot says "points" instead of whatever your custom name is.
- There is no planned GUI for this.
- To change, type in this command:
- !pointname <name>
- or
- !pname <name>
- example usage:
- !pointcheck a5vastra
- "a5vastra has 100 points"
- !pointname a5v_coin
- !pointcheck a5vastra
- "a5vastra has 100 a5v_coins"
- Please note
- the bot will IGNORE your new name if it has a space in it, so use underlines if you want spaces.
- Custom reward for points:
- After the user waits <minutesRequired> minutes AND types <messagesRequired> messages, they get a reward.
- You can set this reward to be whatever you want, as long as it isn't negative.
- Needs testing.
- There is no planned GUI for this.
- example usage:
- !pointreward 5
- !preward 5
- will change the reward to 5 points.
- 2x rewards for followers:
- The reward from the pointTracker is doubled for those who are following.
- This is enabled by default and is not customizable.
- NOTE: Twitch API takes 1-3 minutes to check new followers, so it might not give 2x rewards to very new followers.
- Private Raffle Option:
- You may want to do a follower-only raffle.
- Either set the private option in the Raffler GUI OR
- !raffleprivate on
- sets the private to ON
- !raffleprivate off
- sets the private to OFF
- !raffleprivate
- sets the private to ON
- can be abbreviated as !rprivate on
- Refund/Cancel Raffles:
- You may need to cancel a raffle.
- !rafflecancel
- Is a new command that will end a raffle after refunding all entrants their points.
- This may spam chat, but whatever.
- You can also find it in the Raffler GUI.
- Check for updates:
- On load, the bot will check this text document.
- If the NAME is different, then the version being used is grossly outdated,
- and the bot will bring up a dialog asking if the user wants to see changelog,
- which includes the link to download new version.
- NAME is only changed in big releases or after a week or so.
- If the VERSION is different, then there is no dialog shown, as new versions might come up
- every night, if I'm updating a lot.
- Just say raffleenter:
- All text has been normalized. The raffler will only prompt people to say !raffleenter.
- However, !raffle is still a legitimate command and can be used as a shortcut.
- }
Advertisement
Add Comment
Please, Sign In to add comment