Chunin_Exam()
world<<"<b>The Chunin Exams are about to begin. If you have been chosen to take the test please travel to the [assignedvillage] Village!"
sleep(20)
world<<"The Chunin Exams will begin in 5 minutes!"
sleep(500)
world<<"The Chunin Exams will begin in 4 minutes!"
sleep(500)
world<<"The Chunin Exams will begin in 3 minutes!"
sleep(500)
world<<"The Chunin Exams will begin in 2 minutes!"
sleep(500)
world<<"The Chunin Exams will begin in 1 minute!"
sleep(500)
world<<"<b>The Chunin Exams have begun!"
Chunintime=1
sleep(500)
src.Chunin_First_Exam()
world<<"<b>The Chunin Exams are now over, another will be held in 40 minutes!"
Chunintime=0
sleep(15000)
..()
mob
proc
Chunin_First_Exam()
for(var/mob/P in squad)
if(P.squadexampoints>=25)
usr<<"<b><font color=red>Your team has passed The Chunin Exams - Part 1 with [squadexampoints]/30!"
chunin+=P
else
usr<<"<b><font color=red>Your team has failed The Chunin Exams - Part 1 with [squadexampoints]/30!"
sleep(20)
for(var/mob/M in chunin)
usr<<"<b>Congrats!"
return
Problem description:
As a side note, if you don't change the system you'll find that each person will be added to the chunin list equal to the number of people found in their squad list.