Code:
Guild_Exam()
var/examname = input("Exam? do not put exam at end of name or it will come up as exam exam","") as text
var/question1 = input("Question one", "") as text
var/question2 = input("Question 2", "") as text
var/question3 = input("Question 3", "") as text
var/question4 = input("Question 4", "") as text
var/answer1 = input ("answer 1", "") as text
var/answer2 = input ("answer 2", "") as text
var/answer3 = input ("answer 3", "") as text
var/answer4 = input ("answer 4", "") as text
var/answer5 = input ("answer 5", "") as text
var/answer6 = input ("answer 6", "") as text
var/answer7 = input ("answer 7", "") as text
var/answer8 = input ("answer 8", "") as text
var/answer9 = input ("answer 9", "") as text
var/answer10 = input ("answer 10", "") as text
var/answer11 = input ("answer 11", "") as text
var/answer12 = input ("answer 12", "") as text
var/rightanswer1 = (input("Right answer(Choose right answer)", "")in list ("[answer1]","[answer2]","[answer3]"))
if(src.guild == usr.guild)
world<<"<b><font color = purple>Guild info:</b><font color = red>There will be a [examname] exam in 5 minutes!-- You will be teleported to it if you choose so!"
sleep(600)
world<<"<b><font color = purple>Guild info:</b><font color = blue>There will be a [examname] exam in 4 minutes!"
sleep(600)
world<<"<b><font color = purple>Guild info:</b><font color = red>There will be a [examname] exam in 3 minutes!"
sleep(600)
world<<"<b><font color = purple>Guild info:</b><font color = blue>There will be a [examname] exam in 2 minutes!"
sleep(600)
world<<"<b><font color = purple>Guild info:</b><font color = red>THERE WILL BE A [examname] EXAM IN 1 MINUTE!!!"
sleep(600)
world<<"<b><font color = purple>Guild info:</b><font color = blue>The [examname] exams have begun!"
alert("A [examname] exam has just begun would you like to join?") in list ("Yes","No")
if("Yes")
usr.gexam = 1
if("No")
usr<<"mmkay."
mob
proc
Test()
if(gexam == 1)
(input("[question1]","")in list("[answer1]","[answer2]","[answer3]"))
if(usr.rightanswer1 ==1)
usr.points2 += 1
(input("[question2]","") in list("[answer4]","[answer5]","[answer6]"))
Problem description:
none i just would like some pointers