Telling what gamemode is running

I am wondering how I would find out what gamemode is running. I am trying to edit the deathfix lua file to only run during a sandbox gamemode.

[editline]12:24PM[/editline]

Well, that’s a silly way… might as well use
[lua]
print( "Current gamemode is " … GAMEMODE.Name )
[/lua]

Thanks!