gui.OpenURL not opening when I type the set command (Broken Code!)

hook.Add( “PlayerSay”, “OpenURL”, function( ply, text, public )
local args = string.Explode( " ", text )

if args[1] == “!workshop” then
gui.OpenURL( “” )
end )

This code looks fine to me but when I type “!workshop” the URL does not open?

This subforum is for problems PLAYING Garry’s Mod.

If you need help modifying it, visit

Thanks, I just realized!