Sub Zero | 2010-10-27 00:32
Magic 8 Ball, with GUI -Updated-
17
points ]
 (2 votes)
A script for a Magic 8 Ball, and it comes with a GUI

how to use: just place in your main sauer folder, (windows = C:\Program Files\sauerbraten) and in your autoexec.cfg (if you have one) type "exec 8ball.cfg"

to use in-game without using a GUI just type /exec 8ball.cfg, hit ESC, then type /8ballsay for it to say something outloud or /8ballecho for echo.

to use in-game using the GUI without autoexec.cfg just type /magic8ball

Update/Changelog:
Made it easier to read for people who need it that way.

Changed command "8ball" to "8ballsay".
Changed command "8ball2" to "8ballecho".

Added function to the GUI so it makes you ask a question and waits a few seconds for the 8 Ball to reply.

Added command "ask8ball" to ask the 8 Ball a question and waits a few seconds before reply.

Added command "questions" for 17 new questions that it forces you to ask.

"8ballsay" = [say (at $8ballmsg (rnd 20))]
"8ballecho" = [echo (at $8ballmsg (rnd 20))]
"ask8ball: = [
"8ballmsg" = ["Magic 8 ball: Yes." "Magic 8 ball: No."

magic8ball = [showgui magic8ball]

newgui magic8ball [guibutton "Ask the 8 Ball." [questions;sleep 500 [8ballsay]]
guibutton "Ask the 8 Ball in your head." 8ballecho
showgui magic8ball

"questions" = [say (at $questionsmsg (rnd 17))]
"questionsmsg" = [
"Me: Will I be fragged in 30 seconds?"
"Me: Will I be the winner of this round?"
"Me: Is there going to be a lot of blood this round?"

8ball.cfg (1.78 KB)
17
points
 (2 votes)
User login
Users on Quadropolis
1 guest & 1 user online
102
points ]
 (12 votes)
Created 2011-05-17 17:36
9 years 7 weeks ago
Getridou
30
points ]
 (3 votes)
Created 2020-07-02 18:52
4 days 3 hours ago
LURKing
20
points ]
 (2 votes)
Created 2020-07-01 13:16
5 days 9 hours ago
70
points ]
 (7 votes)
Created 2020-01-24 22:26
23 weeks 3 days ago
TheMisterCat
16
points ]
 (2 votes)
Created 2007-02-21 18:06
13 years 19 weeks ago
Created 2020-05-14 12:56
7 weeks 4 days ago
18
points ]
 (2 votes)
Created 2020-06-01 20:40
5 weeks 2 hours ago
30
points ]
 (3 votes)
Created 2018-09-17 02:06
1 year 41 weeks ago
26
points ]
 (3 votes)
Created 2020-06-27 11:13
1 week 2 days ago
LURKing
40
points ]
 (5 votes)
Created 2020-05-09 17:56
8 weeks 2 days ago
30
points ]
 (3 votes)
Created 2020-06-13 21:05
3 weeks 2 days ago
7YearBitch
8
points ]
 (1 vote)
Created 2020-06-14 17:58
3 weeks 1 day ago
7YearBitch
44
points ]
 (5 votes)
Created 2020-06-02 09:43
4 weeks 6 days ago
LURKing
25
points ]
 (3 votes)
Created 2020-06-12 18:25
3 weeks 3 days ago
7YearBitch
15
points ]
 (2 votes)
Created 2020-06-07 14:58
4 weeks 1 day ago
7YearBitch
15
points ]
 (2 votes)
Created 2020-06-07 14:48
4 weeks 1 day ago
19
points ]
 (2 votes)
Created 2020-05-31 16:27
5 weeks 1 day ago
38
points ]
 (4 votes)
Created 2020-05-16 23:15
7 weeks 1 day ago
224
points ]
 (23 votes)
Created 2012-10-20 09:56
7 years 37 weeks ago
Gangler
10
points ]
 (1 vote)
Created 2020-05-12 22:59
7 weeks 5 days ago
Who's new
  • Getridou
  • Spr1te
  • Akari
  • LURKing
  • Antknee55