turf/end
icon = 'Finish.dmi'
Entered()
world << "[usr] has finally finished"
usr.loc = locate(2,2,1)
GiveMedal("Finished", src)
mob/proc/GiveMedal(var/medal)
world.SetMedal(medal,usr)
world.GetMedal(medal,usr)
Error:-
Maze.dm:44:error: GiveMedal: undefined proc