mob/Trans
verb
Host_Class()
set category = "Trans Spells"
switch(input("Which year will you be teaching for this lesson?")in list("1st","2nd","3rd","4th","5th","6th","7th"))
if("1st")
class="1st"
if("2nd")
class="2nd"
if("3rd")
class="3rd"
if("4th")
class="4th"
if("5th")
class="5th"
if("6th")
class="6th"
if("7th")
class="7th"
for(var/turf/TransClass/T in world)
T.overlays += 'bluealert.dmi'
world<<"Attention all students in their [class] year! Proffessor [usr] is now hosting a [class] year Transfiguration class! The floor guidance is switched on, so follow it. You only have 5 minutes to get to class"
sleep(3000)
world<<"Proffessor [usr]'s [class] year Transfiguration class is now in session."
T.overlays -= 'bluealert.dmi'
Problem description: Well, the above verb should 'cause the designated turf to have an overlay, however no image appears when I do click it and go through the switch(input). I've even got the turf set to layer=999.
And if it helps, on the line after the switch(input) command it comes up with this: Programming\Teacher(Trans).dm:104::warning: empty switch statement.