06.05.2011, 21:39
(
Last edited by Zh3r0; 09/05/2011 at 03:46 PM.
Reason: NEW VERSION!!
)
Reaction Tests v2.0
Description
- First of all,
I know there are tons of these scripts, don't come up bullshitting please, I'm very aware of this fact.
All i wanted is to test my new "style" in scripting, because I decided to forget the [ spaces ][ between ][ braces ].
Honestly? I like it this way now.
Features
V1.0
- Three reaction tests, Mathematics, Reaction and Custom messsage reaction.
- You can add static messages under OnFilterScriptInit.
- In-Game use /start to show informations about the command, it has 4 params(you choose)
- When using /start message without a 2nd param, a message from the ones you set inside your script will be shown, but when you use /start message This is a text! players must type This is a text! to win the prize.
- You can use in console !showmsgs to list all the messages from inside script, or use in-game /rcon !showmsgs
- When someones wins, it will store his name into a variable and use later when a player tries to answer and the system will tell him that the player x answered first!
- Added Quiz Test. You get a question and 4 options.
- Use CreateQuiz on OnFilterScriptInit to creat a Quiz Question.
- Now it saves in files, who when and what was the answer.(On all 4 reactions).
From inside the Quiz Winners.txt
Code:9/5/2011 at 17:46:29 ---------------------------------- Question: Who is the president of the United States? Answer: a) Barack Obama Winner: Zh3r0 Took: 8893 ms ----------------------------------
- It will show the time elapsed until you answered.
- If there would be a 3.0, I don't know, for sure I will add the Top 3 fastest writers!
- If so, I would be using SQLite.
V1.0
V2.0
Download
V1.0 Without the Quiz Test
solidfiles < - Direct
pastebin
V2.0 With the Quiz Test
solidfiles < - Direct
pastebin
* Warning: Version 2.0 saves 4 files in /server/scriptfiles.
* Enjoy!