tag:blogger.com,1999:blog-344810805089119836.post6796395094630754522..comments2023-11-03T00:49:27.673-07:00Comments on Ssnot!: Tat's Trivia Bot 3.69Tatarizehttp://www.blogger.com/profile/06655536699564744308noreply@blogger.comBlogger57125tag:blogger.com,1999:blog-344810805089119836.post-58406403186454614092016-04-14T06:10:47.119-07:002016-04-14T06:10:47.119-07:00Someone comes into my trivia room and is always st...Someone comes into my trivia room and is always stopping the trivia. Is there a way to prevent the public from stopping the trivia game???<br /><br />Thanks...Anonymoushttps://www.blogger.com/profile/09858372318193761254noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-37646727487015546332016-04-01T16:51:44.788-07:002016-04-01T16:51:44.788-07:00So I'm having an issue with the actual trivia ...So I'm having an issue with the actual trivia bot not actually recognizing answers or commands from stream viewers at all. Everything is up and running, and the trivia bot works, all the questions are working and playing, but when a viewer in the stream states a correct answer, it doesn't pick it up, it just sits there and does nothing until the question times out, any idea what's wrong or how I can fix it?Knowledge21https://www.blogger.com/profile/10993146093068942981noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-65880938222028891502015-05-27T04:33:37.060-07:002015-05-27T04:33:37.060-07:00@Sergio Martinego,
Okay, I updated the bot. That ...@Sergio Martinego,<br /><br />Okay, I updated the bot. That kind of weird question mode is now built in.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-79087934209947003682015-05-27T02:11:36.519-07:002015-05-27T02:11:36.519-07:00The bot typically doesn't keep listening for a...The bot typically doesn't keep listening for answers after the first one is found. Because the typical use case is getting the right answer to the question is the right answer. Generally what you want is akin to multi, but rather than accepting multiple correct answers you want it to keep accepting the same answer accept just one. After all, in a typical use case, once somebody guesses the right answer, everybody knows the answer. It is however the case that it wouldn't be hard to add a non-typical case like that (at least for me, if I remember how the coding works).<br /><br />Gimme a bit.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-18782034232242908752015-05-26T23:45:55.950-07:002015-05-26T23:45:55.950-07:00>>and also, everytime I answer a question, i...>>and also, everytime I answer a question, it bans me, why is that?, how can I avoid that to happen? Thank you!<br /><br />In settings, the award tab, delete the cheater awards routines that ban people for typing beyond world record words per minute.<br /><br />Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-11925136440551699592015-05-26T23:44:32.457-07:002015-05-26T23:44:32.457-07:00>>block the right click or ctrl+c on the cha...>>block the right click or ctrl+c on the channel, because my community is based on fast typers, and there would be questions that you just have to repeat the sentence as fast as you can.<br /><br />That's not within the scope of the bot. They control whether they cut or paste. The program however has something called decheater. Which randomly interleaves character 160 (looks like a space) with character 32 (space), when it asks the questions. So oddly enough, you can try cutting and pasting. Odds are actually really good that it will not work, if decheater is on. You'd have to type it.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-20064530227162989832015-05-26T23:20:39.302-07:002015-05-26T23:20:39.302-07:00>>I would like to know if you could add an o...>>I would like to know if you could add an option to detect lower and upper case (I need this for certain questions).<br /><br />Generally no. In reality, if you wanted to alter the code in a specific way. It would also prevent Fish Stick from being fish stick or fIsh stick.<br /><br />alias fix {<br /> if ($getset(status,nospellfix)) { return $lower($strip($1-)) }<br /> var %temp.fix = $lower($strip($1-))<br /> ...<br /><br />The code in the fix alias includes the ever important $lower() command which reduces all strings to lower case for compares.<br /><br />alias fix {<br /> if ($getset(status,nospellfix)) { return $strip($1-) }<br /> var %temp.fix = $strip($1-) <br /><br />That might work. I stress might. Also fix only fixes lower case letters so capital letters won't be switched out.<br /><br /><br />>>Also, the Join message it's not working.<br /><br />Should be. But, it was generally stupid anyway. It can be done with an award in the bot. Just trigger it when somebody joins and send a message hello or whatnot.<br /><br />>>"Username" has won "X" out "Y" rounds he/she has participated. This way shows how good a player is based on % of victories and loses.<br /><br />Generally again, no. Because there typically aren't rounds. There are often times people in the channel not in the game which would give them losses? One could count times they get at least one point. But, there's no code for doing anything of the sort at round end, or variables in the scores file to save that data.<br />Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-11429304419386239802015-04-11T14:12:30.753-07:002015-04-11T14:12:30.753-07:00It's not exactly a thing that needs solving as...It's not exactly a thing that needs solving as dividing them up as they are is the correct answer. But, I'd figure if you found this code:<br /><br />alias -l scramble {<br /> tokenize 32 $1-<br /> var %i = 1, %temp.smbl<br /> while (%i <= $0) {<br /> var %word = $eval($+($,%i),2)<br /> while (%word != $null) { var %rand = $rand(1, $len(%word)), %temp.smbl = %temp.smbl $+ $mid(%word, %rand, 1), %word = $left(%word, $calc(%rand - 1)) $+ $right(%word, $calc(-1 * %rand)) }<br /> %temp.smbl = %temp.smbl $+ ;<br /> inc %i<br /> }<br /> return $lower($replace(%temp.smbl,;,$chr(32)))<br />}<br /><br />Which does the scramble, and you changed the tokenization from 32 (space) to something like 42 (*) it would break at the wrong bits and divide everything up as one big generally wrong blob.<br /><br />Also you can simply cheat and drop the spaces.<br /><br />Scramble*RockyMountainHigh*Rocky Mountain High<br /><br />Then have a second answer with the space. This might be the easiest. And wouldn't require the bot work in a technically wrong manner.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-63112735084839683622015-04-11T03:06:20.466-07:002015-04-11T03:06:20.466-07:00Oh and another thing ^^
For example, I want to sc...Oh and another thing ^^<br /><br />For example, I want to scramble 3 words, but I want them all scrambled into 1. Currently, when I scramble 3 words they turn into 3 scrambled ones.<br /><br />Solution? <br /><br />Again, total noob here. Cheers!Anonymoushttps://www.blogger.com/profile/06984462396361737150noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-29493083876027504972015-04-10T18:18:25.659-07:002015-04-10T18:18:25.659-07:00Okay, thanks for the answer and the time you put i...Okay, thanks for the answer and the time you put into it! <br />My next question would be: Do I have to create separate text files for categories, or can I have one big file and separate the categories with hashtags? Do I go and create themes in the Defaults tab as well? What's the course of action to properly execute this?<br /><br />If the questions don't repeat, I have 0 problems with them being shuffled. I was, however, under the impression that they do repeat. Thanks again Tat!Anonymoushttps://www.blogger.com/profile/06984462396361737150noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-4492927483630913882015-04-10T16:00:07.436-07:002015-04-10T16:00:07.436-07:00Categories are setup in the question files like th...Categories are setup in the question files like they have a hashtagged bit of info after them<br /><br />question 1*answer<br />question 2*answer<br />question 3*answer<br />#Category A<br />question 4*answer<br /><br />And so questions 1,2,3 are in category A. Themes let you replace question files not redo them.<br /><br />Your question file is shuffled but it doesn't repeat them. It goes through the entire list before starting over. Going in order doesn't fix that but sure it's totally doable. I think I did it with a special that would call set a variable then each time it would ask a question it would trigger /ask %variable thereby making each question force the questions in order.<br /><br />But, it was and still is a dreadful idea. I think you can simply do it by setting up a special award that on each question asked calls the command "askrotate" which does exactly that and should be in the bot for the last few versions. So award on any question with special askrotate, then you can see how bad it sucks.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-65090222965776766942015-04-09T17:03:08.497-07:002015-04-09T17:03:08.497-07:00Hi Tat! Thanks for sharing this awesome piece of c...Hi Tat! Thanks for sharing this awesome piece of coding :)<br /><br />I'm a total noob so please don't mind my questions. I wanna separate categories, but when I try to create themes, I just get questions from other categories.<br /><br />Another thing, I don't have a lot of questions and I'd like them not to be shuffled. Is there any way I can do this?<br /><br />Thanks in advance :)Anonymoushttps://www.blogger.com/profile/06984462396361737150noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-32699355239927200912015-02-19T02:25:55.710-08:002015-02-19T02:25:55.710-08:00In Trivia Settings, Defaults, You'll find a bo...In Trivia Settings, Defaults, You'll find a box labelled Time. Those values should be basically everything you need.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-87805522897280540182015-02-18T07:50:08.963-08:002015-02-18T07:50:08.963-08:00!Tatarize TY! That worked on the formatting. One m...!Tatarize TY! That worked on the formatting. One more question plz. Is there a way to slow it down? It will ask the qeustion then like 5 sec later start giving hints. I have it set to 3 hints and its like 5 sec between each hint. How can I increase this duration?<br /><br />Thanks again<br />BCAnonymoushttps://www.blogger.com/profile/00213036731770179876noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-35154243673362101562015-02-18T02:06:34.641-08:002015-02-18T02:06:34.641-08:00@BigCountrysTV, The color codes in the bot do not ...@BigCountrysTV, The color codes in the bot do not work for twitch. In mIRC mIRC sees them as colors. In Twitch, Twitch sees them as an errant character 3, and some numbers. It gets rid of the character 3 and shows the numbers.<br /><br />In short, turn off the colors. You can't use em with twitch.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-69059022137819089932015-02-17T23:59:09.552-08:002015-02-17T23:59:09.552-08:00Hi. I just started using mIRC and created a bot. I...Hi. I just started using mIRC and created a bot. I am fairly new to this stuff but I ahve alot of features so far. the issue I am having with your Trivia bot is the format. This is what it types in the mIRC chat line:<br /><br />Ex:<br />Stopping the trivia. !trivia to restart.<br /><br />Which is fine but this is how it shoes up in the Twitch chat.<br /><br />Ex:<br />7Stopping the trivia.12 !trivia 7 to restart.<br /><br />See the 7's and the 12? Is it do to color coding or something. I have looked for those announcement lines in the code but cant seem to find it to edit it. Can you suggest a fix for me plz?Anonymoushttps://www.blogger.com/profile/00213036731770179876noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-45521145119185049392014-05-29T23:42:02.128-07:002014-05-29T23:42:02.128-07:00Tried Themes. They still work.
Also /NOTICE is a ...Tried Themes. They still work.<br /><br />Also /NOTICE is a perfectly valid command in mIRC. It shouldn't say it's invalid. But, it's a communication method. So likely somewhere the default response type or something is saying notice isn't a command. You can change it away from notice.<br /><br />Also, if you were so inclined, you could also make an alias for the command:<br /><br />/alias /notice /msg $1-<br /><br />In your command bar will define an alias for /notice which will use msg. <br /><br /><br /><br />It is a command.<br /> <br />mIRC help:<br /><br />/notice nickname message<br /><br />Sends a private message to nickname without opening a query window for either you or them.<br /><br /> <br />Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-22560301375594905152014-05-29T21:10:41.654-07:002014-05-29T21:10:41.654-07:00Hey Tat, for some reason !themes does not seem to ...Hey Tat, for some reason !themes does not seem to work at all. in mIRC it gives me a NOTICE Unknown command error.<br /><br />Also for some reason when creating themes, running a theme will also use any other question files that have been added under the general tab - I don't recall having an issue with this in the past but I recently upgraded to 3.69 and it started having this issue.Bretthttps://www.blogger.com/profile/04201634323937119602noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-19270616250252314862014-05-26T04:33:25.155-07:002014-05-26T04:33:25.155-07:00Thnx m8
Stupid me, i missed the part that said /t...Thnx m8<br /><br />Stupid me, i missed the part that said /triviaad only starts from mirc window.<br /><br />i was putting command on the site that had the chatroom embedded.<br /><br />Thnx from all our trivia players, we enjoy your work that you did on it and created very nice chat trivia.<br /><br />Greetings Downlord4ever Channel justin.tv Star Trek Caster (most banned Jtv Channel)<br />Downlordhttps://www.blogger.com/profile/16671113495956899839noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-4712573966624748292014-05-20T16:44:36.442-07:002014-05-20T16:44:36.442-07:00I dunno if either the twitch translation script or...I dunno if either the twitch translation script or mIRC would have such a thing. Turn them off within Tat's Trivia Script. <br /><br />Commands, Trivia, Trivia Options, Defaults, Colors<br />Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-36724001765219932042014-05-20T16:42:09.552-07:002014-05-20T16:42:09.552-07:00Go to the settings part dealing with colors. Click...Go to the settings part dealing with colors. Click the big box marked Colors. That turns off the colors.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-68680576259798369732014-05-20T13:58:08.106-07:002014-05-20T13:58:08.106-07:00Hi, thanks for making this trivia bot, it's aw...Hi, thanks for making this trivia bot, it's awesome!<br />I've discovered the same issue with colors on my Twitch chat, however I'm not certain which settings I need to be accessing to turn off the colors. <br />I've looked through both Twitch and mIRC and can't really find an option to strip colors entirely. Is there any advice you can offer me?<br />Thank you so much!Anonymoushttps://www.blogger.com/profile/09917787297609637518noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-39453364573126863412014-05-15T00:29:14.431-07:002014-05-15T00:29:14.431-07:00The numbers aren't random they are the colors....The numbers aren't random they are the colors. Twitch doesn't process them like mIRC does. Go into settings and turn them off.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-78316298197391274822014-05-14T22:37:23.016-07:002014-05-14T22:37:23.016-07:00Hey Tat.
First of all, thanks so much for making...Hey Tat. <br /><br />First of all, thanks so much for making this bot. I'm excited to use it in future streams, and will definitely send anyone who's curious your way. <br /><br />I'm facing one issue, though. When I try to start up a round of trivia, everything appears great on the mIRC client, but the actual twitch chat adds random numbers before and after seemingly random words. It did this even when the "Decheater" was turned off. Any ideas?<br /><br />Thanks in advance, and here's a picture to clarify: http://imgur.com/9ZjUkU5LikeaSsurhttps://www.blogger.com/profile/08377852236799173376noreply@blogger.comtag:blogger.com,1999:blog-344810805089119836.post-1077763005494839162014-05-11T02:29:09.144-07:002014-05-11T02:29:09.144-07:00That looks to be what it's doing.
(Name): tex...That looks to be what it's doing.<br /><br />(Name): text, is msg<br />(Name) text, is describe especially in a different for the name.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.com