PtokaX forum

Archive => Archived 5.1 boards => Request for scripts => Topic started by: Aragorn on 23 November, 2006, 16:28:18

Title: Trivia on teams script...pls help
Post by: Aragorn on 23 November, 2006, 16:28:18
Can someone help me with this script I have...it's very old but I love it and I don't want to lose it just because it doesn't work on new versions of ptokax.
Thank you in advance.


Title: Re: Trivia on teams script...pls help
Post by: CrazyGuy on 23 November, 2006, 22:18:01

-- original LUA version by Micky
-- Updated to LUA 5.x by CrazyGuy on November 23rd 2006


see attached file

This is only partially tested, but it starts up

Quote
[22:08:56] <Viril Lantzu> Trivia a inceput si are 20 intrebari
[22:08:56] <Viril Lantzu> Scorurile au fost incarcate
[22:08:56] <Viril Lantzu>
            INTREBAREA NR. 14 din 20
[22:08:56] <Viril Lantzu>       _______________________________________________________________________________

[22:08:56] <Viril Lantzu>       LEGILE LUI MURPHY:Este foarte simplu sa faci ceva complicat, dar este foarte complicat sa...
[22:08:56] <Viril Lantzu>       @@@@ @@@@ @@@@@@(16)
[22:08:56] <Viril Lantzu>       _______________________________________________________________________________

[22:08:56] [ 127.0.0.1 ] <CrazyGuy> +Start
[22:09:16] <Viril Lantzu>       HINT   @@@@ c@v@ @@@@@@(14)
[22:09:36] <Viril Lantzu>       HINT   @@c@ cev@ @@@p@@(11)
[22:09:56] <Viril Lantzu> Raspunsul era 'faci ceva simplu'
[22:09:56] <Viril Lantzu> Urmatoarea intrebare in 15 sec

The script can definatly use some optimization as well, but as you said you were happy with how it was, I take it this will do for now then  ;D

btw, the other files aren't changed, so no need to post them in my reply
Title: Re: Trivia on teams script...pls help
Post by: Aragorn on 24 November, 2006, 22:12:38
Thanks a lot for the script and for the quickness of your reply...^^

if you have time to optimize it I wouldn't mind (didn't knew that it can be optimized...) ;D

Thank you again!
ara