Start_Tourny()
set category = "Administration"
set name = "Start Tournament"
if(tournament == 1)
usr<<"<font color=white><b><u>There is already a tournament being held!</font></b></u>"
return
else
var/ID=input("You want to start a tournament? What is your prize going to be?")as text
if(ID == "")
return
else
world << "<center><font size=3><font color = Silver><b><center>[usr] has started a tournament, the prize is [ID]!<br><font size = 1>To join please go to tournament tab and select Enter Tournament."
tournament = 1
for(var/mob/M in world)
M.verbs += new/mob/Tournament/verb/Enter_Tournament()
M.verbs += new/mob/Tournament/verb/Leave_Tournament()
Stop_Tourny_Entance()
set category = "Administration"
set name = "Stop Tournament Entry"
if(tournament == 1)
world << "<center><font size=3><font color = Silver><b><center>The tournament entry has now ended."
world << "<font size=1><font color = red><b>The following people are in the tournament"
for(var/mob/M in world)
if(M.tourny)
world << "[M]"
for(var/mob/M in world)
M.verbs -= new/mob/Tournament/verb/Enter_Tournament()
M.verbs -= new/mob/Tournament/verb/Leave_Tournament()
else
usr<<"<font color=white><b><u>There is no tournament being held!</font></b></u>"
return
End_Tourny()
set category = "Administration"
set name = "End Tournament"
if(tournament == 1)
var/ID=input("You are now ending the tournament, who won?")as text
if(ID == "")
return
else
world << "<center><font size=3><font color = Silver><b><center>[usr] has ended the tournament, the winner is [ID] and they will recieve their prize shortly."
tournament = 0
for(var/mob/M in world)
M.verbs -= new/mob/Tournament/verb/Enter_Tournament()
M.verbs -= new/mob/Tournament/verb/Leave_Tournament()
else
usr<<"<font color=white><b><u>There is no tournament to end!</font></b></u>"
return
Tourny_Announce()
set category = "Administration"
set name = "Tournament Announce"
if(tournament == 1)
var/ID=input("What do you wish to announce to the people in the tournament?")as text
if(ID == "")
return
else
for(var/mob/M in world)
if(M.tourny == 1)
M << "<center><font size=2><font color = Silver><b><center>[usr] would like to tournament announce!<center><br>[ID]"
else
usr<<"<font color=white><b><u>There is no tournament to announce to</font></b></u>"
return
Problem description: 1.0 System\1.2 Administration\H_Admin Variables and Procs (new).dm:1676:error: proc definition not allowed inside another proc