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.