Showing posts with label Tat's Trivia Script. Show all posts
Showing posts with label Tat's Trivia Script. Show all posts

Friday, June 21, 2013

Tat's Trivia Bot 3.69

Tat's Trivia Bot 3.7

I think I found the dialog issue. When you'd open it it would beep due to crashing. I also added in KAOS questions. I didn't know what they were before, but apparently they are like Total: except you don't lose for not getting all the answers. More or less. I also added a hint for the KAOS questions, which similarly works for total as a piggy backed the question type. I also expanded the dialog a nice chunk. Like replaced all the stuff and took up more room. It looked horrible on my system and my system's fairly modern so maybe it sucks other places too.

Latest Version: Tat's Trivia 3.69



Also if you need an eggdrop tcl trivia script for IRC I do recommend:
http://www.mytclscripts.com/bogustrivia/bogustrivia-all-settings.html
Seemed like a pretty reasonable script, and seemed to have pretty clean execution. Runs on an entirely different platform than my mIRC bot (so don't bother if you don't know what it is).

Saturday, April 28, 2012

Tat's Trivia Bot, v. 3.65

Tat's Trivia Bot 3.7

Latest Version: Tat's Trivia 3.69

Download: Tat's Trivia Bot, 3.65

Update: 3.66
A version for every day of the year.

It mostly adds a couple hooks for awards, namely on Champ, TeamAnswer, and TeamVictory


I also added a command /trivia.team.credit

This is to allow one to give points to the entire team (the will transliterate from *) points. Apparently some people don't want to play on teams if the only points you get are individual. That seems reasonable, and I'll make it able to be fixed by you folks on an individual basis. So for pretty much everybody save Brett this version will do nothing for you.

(Fixed odd oversight with 3.61 included)

Thursday, February 23, 2012

How-to: write a mIRC games scores file.

I dealt with a lot to get such things to work well, and I highly recommend the way I did my scores to anybody. Which is to say tokenized strings in a flatfile to be accessed with a /filter command. Unless mIRC at somepoint gets mySQL this will be the best way to do things. A well placed filter command can pretty much access anything and in a fast enough time frame for a game. And it scales well enough to use.

In Tat's Trivia you can see the var commands. Namely setvar, readvar, getvar, gttok, tvartoks. These each do specific things.

Below the fold is a rather long breakdown of everything about how this stuff works. And why you should use this method.


Thursday, March 10, 2011

Tat's Trivia Bot, 3.61

Tat's Trivia Bot 3.7

Update: Latest Tat's Trivia Bot 3.69

Download: Tat's Trivia Bot, 3.61

See Tat's Trivia Bot, 3.65

This is a feature update. It adds team assignment permanence..

In what is likely the second weirdest thing in the history of Tat's Trivia Bot, I actually added a feature after like half a decade. It seems that the trivia team mode was unduly hampered by not maintaining team assignments in the player files. It would just leave them in the hash table during run time and lose them when the bot stopped. So every team game, everybody would need to do !join or they couldn't play. It also had no power to force assign people to a specific team or to limit their ability to join teams. Combined these would make having the bot run only in team mode, rather effortless. It is the first feature-addition-request/inquiry-if-it-had-such-ability I couldn't just give a bit of award code, point out a secret hidden feature, or justify as too far off the beaten path to ever bother with in half a decade.

!op team (Player) (Team Number)
!op team Tat 2

And a few relevant disables.

I also added !help to the disabled section. So it can be modified in commands tab.

In case anybody cares the weirdest thing was this one time somebody sent me a bug fix with usable code. Usually if somebody finds a bug and fixed it, they added it somewhere odd and it was an eye-sore of a kludge and completely useless. One time though, somebody sent me code that actually worked the way the bot worked and was placed in the correct routine and everything. I actually just pasted it in. It was truly bizarre.


--------------------

There is a bug which causes the ping to not work.

alias -l check.respond {
unset %respond
var %respondlevel = $getset(disable,$1 $+ .respondlevel)
if (%respondlevel == 2) set -u2 %respond .notice $nick
else if (%respondlevel == 3) set -u2 %respond msg $chan
else if (%respondlevel == 4) set -u2 %respond .msg $nick
else if (%respondlevel == 5) set -u2 %respond describe $chan
}

This routine should not actually use $chan by $iden

alias -l check.respond {
unset %respond
var %respondlevel = $getset(disable,$1 $+ .respondlevel)
if (%respondlevel == 2) set -u2 %respond .notice $nick
else if (%respondlevel == 3) set -u2 %respond msg $iden
else if (%respondlevel == 4) set -u2 %respond .msg $nick
else if (%respondlevel == 5) set -u2 %respond describe $iden
}

It'll be fixed next version. Thank you KindOne for the note.

Sunday, August 22, 2010

Tat's Trivia Bot, v 3.6

Tat's Trivia Bot 3.7


Update: Latest Tat's Trivia Bot 3.69

See latest blog and version 3.61

See Tat's Trivia Bot, 3.65Though, I'm mostly out of the scripting game. I did half a decade ago, make one of the foremost trivia scripts ever, with more features than anything else anybody else could dream of. So, it's still pretty much top of the market, in a niche and aging market, but with advances in mIRC occasionally things break as some backwards compatibility breaks down. So I dusted off the old skills and found what changed and de-broke it.

Tat's Trivia Bot v.3.6

Well, it turns out the functionality between mIRC 6.35 and mIRC 7.1 has a noted difference in $read. If you call $read on a non-existent file, it will hit an error message and stop processing. Before it would continue but return $null to the $read. So $read($trivfil), then checking if there was anything there, caused it to crash correct answers in 7.1, because it wouldn't go beyond $read. So I searched the file and made sure to add a check to all the $read commands to see if the file exists before trying to read from it.

Previous blog notes about the script are good. Also, I use to own Tatarize.com which is worth noting for the sake of people googling me. And I do have an outpost at tatarize.nfshost.com. And the Mediafire host has question files etc that are worth looking at. If you want to get in touch. I have a yahoo.com mail account and Tatarize has always been my name for pretty much everything, so if you do a little math you can figure my email (not explicitly said for the sake of spam).

Sunday, November 8, 2009

Tat's Trivia Bot v. 3.58

Tat's Trivia Bot 3.7


Update: Latest Tat's Trivia Bot 3.69

See latest blog and version 3.61
See latest blog link: 3.6



So Geocities shut down and my long dead drifting set of links to the files has likewise died out.

I have a semi-permanent site setup

http://tatarize.nfshost.com/


It should always have links to such my old scripts and various bits of information as to the on goings. It will presently link to MediaFire folder where I have the latest version of the trivia bot 3.58 as well as the question files and all of the old versions.

Again, if you find any bugs with the script I am still correcting those (though due to the lack of urgent reports I doubt there are many large ones). The bot is still free and open to edit and change in any way you see fit. Thanks to everybody who supported it over the years.

Thursday, June 5, 2008

Tat's Trivia Bot, Tatarize

Tat's Trivia Bot 3.7

Tat's Trivia Bot 3.69
See Tat's Trivia Bot, 3.65See latest blog and version 3.61
See latest blog link: 3.6

Download Tat's Trivia Bot 3.56
http://tatarize.nfshost.com/

Update There's a newer blog link with 3.58 etc.
http://godsnotwheregodsnot.blogspot.com/2009/11/tats-trivia-bot-v-358.html

A number of years ago as a fun project I programmed a mIRC trivia bot. I pretty well finished and let the product sit there for a long time and finally didn't care to renew my web hosting. Mostly because the webhost I used was kind of crappy and wanted something like $100 a year. For a site that I myself rarely visited that was a pretty tall order. So I let the site drop though, like all things, there are still some following for my old script. Did you know you can play Doom 2 online now? In the quake engine? Like I said, still followings for everything. Although, the parallel doesn't hold because my Trivia Bot is almost certainly the most feature rich on the market even though I haven't done anything with it for years now.

Why do I bring up this dreary story of my former niche fame as a mIRC coder?
-- Google.

When I google "Tat's Trivia Bot" it links to mIRC Scripts where my trivia addon has consistently been the top download for years. Let that be a lesson for some of the other script sites out there. Don't demand people host their own tiny scripts because when they stop caring and their websites go down... you don't get the script anymore because you don't have it.

In any event. I'm almost unfindable for Tat's Trivia Bot because, largely, I have one small reference to Tat's Trivia Bot off towards the side and that's not enough to drive traffic to my site if people search for My (Tat) Script (Trivia Bot). So on the offchance that I'm googled, I'd like to be found. Tat's Trivia Bot.

As for my scripts themselves, they can be easily downloaded:
http://www.geocities.com/tatarize/index.html


I believe Tat's Trivia Bot 3.56 is the latest version released. My own internal version refers to itself as 3.58 and includes about two minor bug fixes and a xmlbuild function (because what is a tiny mIRC script without the ability to output xml to be read by RSS feeds?).

In any event, my hope is that my blog, and moreover, this post will show up when people google my old work.