READ THE RULES
0 Members and 1 Guest are viewing this topic.
[22:52] Syntax cannot open TRIVIA/TriviaExScores.txt: No such file or directory
QUESTION 876: Name the three main bands featured on the cartoon series 'Jem' during it's entire 3 year run.HINT: ••• ••• ••• ••••••••••••• ••••••••••• ••••••••
Name the three main bands featured on the cartoon series 'Jem' during it's entire 3 year run.HINT: a•• a•• a•• a•••••••••••• a•••••••••• a•••••••
-- RightClickBot v1.0TBR by Late@421 - Feb 7,2004 - www.UTB420.net/rightclick-- Thanx Haard for Ideas from your SDCH User Commands-- Converted to lua 5 by Hemarr-- Ralig's Trivia Version for LUA---- The z before the filename is because PtokaX loads the script in alpabetical order.-- This way All scripts finish their checks so no bandwidth is wasted on donkeys and fakers-- All Commands Are Fired in the Main Chat---- This Script implements support in PtokaX Hub for the $UserCommand Extension-- for details on this please visit the DC++ wiki pages-- http://dcplusplus.sourceforge.net/wiki/index.php/UserCommand%20command---- Syntax-- $UserCommand <type> <context> <details>|---- <type> What is the command?-- 0 = separator -- 1 = raw - Most Commands-- 2 = mainchat - File Related Commands - to prevent sending command more than once in search results-- 255 = erase all previous commands---- <context> What is the command for?-- 1 = Hub Command - Hub Settings etc...-- 2 = User Command - User List - commands with %[nick]-- 4 = File Command - Search Window-- 3 = 1 + 2 = Hub and User-- 5 = 1 + 4 = Hub and File-- 6 = 2 + 4 = User and File-- 7 = 1 + 2 + 4 = Hub, User and File ---- <details> Differs per <type>-- <type> 0 = leave blank-- <type> 1 = <title>$<command> or <menu>\<title>$<command> -- <type> 2 = see type 1-- <type> 255 = leave blank-- Editable Settings --sMenu = "TRiViA"-- End Editable Settings --function NewUserConnected(user) TrivCommands(user)endfunction OpConnected(user) TrivOPCommands(user)endfunction TrivCommands(user) user:SendData("$UserCommand 0 3 |") -- Separator user:SendData("$UserCommand 1 3 "..sMenu.."\\Scores Me$<%[mynick]> !trivmyscore||") user:SendData("$UserCommand 1 3 "..sMenu.."\\top Scores$<%[mynick]> !trivscore||") user:SendData("$UserCommand 1 3 "..sMenu.."\\Help$<%[mynick]> !trivhelp||") user:SendData("$UserCommand 1 3 "..sMenu.."\\Show Players$<%[mynick]> !trivplayers||") user:SendData("$UserCommand 1 3 "..sMenu.."\\Shows you hint$<%[mynick]> !trivhint||") user:SendData("$UserCommand 1 3 "..sMenu.."\\Skip the question$<%[mynick]> !trivskip||")endfunction TrivOPCommands(user) TrivCommands(user) user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\Start$<%[mynick]> !trivstart||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\Stop$<%[mynick]> !trivstop||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\Starts with QuesNr.$<%[mynick]> !trivquestion %[line:Enter number here]||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\reset Scores\\reset$<%[mynick]> !triviascorereset %[line:Warning are you sure?]||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\Set TriviaMain\\set$<%[mynick]> !triviamain||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\Set Triviapm\\set$<%[mynick]> !triviapm||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\trivhint on\\set$<%[mynick]> !triviahint on||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\trivhint off\\set$<%[mynick]> !triviahint off||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\trivskip on\\set$<%[mynick]> !triviaskip on||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\trivskip off\\set$<%[mynick]> !triviaskip off||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\triviachangemode\\set$<%[mynick]> !triviachangemode||") user:SendData("$UserCommand 1 3 "..sMenu.."\\OP\\add a question$<%[mynick]> !trivaddquestion %[line:Category/Question/Answers]||")end
Teams hmmm sorry no solution found yet.
can u plzz change the script such that,the questions when come for the first time there is some hint already present i.e the first letters of the words should be seen.
<Trivia> - Rank: ( 16 / 23 ), 9 Point(s) behind Cotton-Candy
<Trivia>vinny's Total =4+55=59. Rank = 20th/112 - 2 behind futre-vu
<Creative> when i think of you<Bot> Correct SwapY®, the answer is "when i think of you". You get 3 Point(s). Answer solved in 142.56 sec.<Bot> SwapY®'s Stats, Score: 88 Point(s), Answered Questions: 23, Average Answering Time: 57.92 sec.<Bot> There goes Turbo's streak of 4<Creative> when i think of you
TrivEx._Sets.revealques = 1 -- 1 = Random displaying of hints, 2 = Displays the first letters of the hint first (Grands Trivia).TrivEx._Sets.trivshowhint = 2 -- 1 = reveal by number of chars 2 = reveal by number of hints
TrivEx._Sets.revealques = 2 -- 1 = Random displaying of hints, 2 = Displays the first letters of the hint first (Grands Trivia).TrivEx._Sets.trivshowhint = 2 -- 1 = reveal by number of chars 2 = reveal by number of hints
if self._Scores[curUser.sName] then puntnul = self._Scores[curUser.sName].Score puntennu = self._Scores[curUser.sName].Score + curTriv.points else puntnul = 0 puntennu = puntnul + curTriv.points end collectgarbage() memgebruik = gcinfo() local msg3="\r\n\r\n\t\t\t\t\t\t*TriVia Action*\r\n" msg3 = msg3.."\t================================================================================\r\n\r\n" msg3 = msg3.."\t\tCorrect "..curUser.sName..", the answer is \""..corrans.."\". You get "..curTriv.points.." Point(s).\r\n\t\tJou have now "..puntnul.." + "..curTriv.points.." = "..puntennu.." Point(s). Answer solved in "..ansTime.." sec.\r\n" msg3 = msg3.." " msg3 = msg3.."\t\t\tMemory usage on this moment "..memgebruik.." Kb\r\n\r\n" msg3 = msg3.."\t================================================================================\r\n\r\n" msg3=msg3.."\r\n" self:SendToPlayers(msg3)
self._Scores[curUser.sName].Streak = 1 self._Scores[curUser.sName].AvTime = { tonumber(ansTime),1,tonumber(ansTime) } end if (self._Sets.showcorrectanswer == 1) then self:SendToPlayers(curUser.sName.."'s Stats, Score: "..self._Scores[curUser.sName].Score.." Point(s), Answered Questions: "..self._Scores[curUser.sName].AvTime[2]..", Average Answering Time: "..string.format("%.2f",self._Scores[curUser.sName].AvTime[3]).." sec.") end -- Show other answeres if present if curTriv.availans > 1 then curTriv:ShowAnswer() end -- Check for Streak curTriv.streak:UpdStreak(curUser) return 1 end elseif (TrivEx._Sets.showcorrectanswer == 2) then -- Show right answer local talked = nil
Cheers was looking for that ,it maybe needs moving to new api scripts