Print message in all chat and make image unclosable

I’m currently trying to create a ulx command that opens an image on a player when typing !meow {player}
Currently, my issues are:

  • It wont say anything in chat (regardless if I use !meow or !smeow)
  • I don’t know how to make the ‘meow’ part of #A is making #T enjoy meow, a rainbow colour
  • I’ve seen it done on another server where if they do this to you, the image pops up but you can’t close it and it takes up your whole screen (instead of it just being in the steam browser tab)

function ulx.meow( calling_ply, target_plys, openedurl, should_silent )
	
	for k,v in pairs( target_plys ) do

		v:SendLua([[gui.OpenURL( "image.com" )]])
	
	end

	if should_silent then
	
		ulx.fancyLogAdmin( calling_ply, true, "#A is making #T enjoy meow", openedurl, target_plys )
	
	else
	
		ulx.fancyLogAdmin( calling_ply, "#A is making #T enjoy meow", openedurl, target_plys )
		
	end
	
end

local url = ulx.command( "Pixels' Addons", "ulx meow", ulx.meow, "!meow" )
url:addParam{ type=ULib.cmds.PlayersArg }
url:defaultAccess( ULib.ACCESS_ADMIN )
url:help( "Makes a user enjoy 'meow'" )
url:setOpposite( "ulx smeow", { _, _, _, true }, "!smeow" )


Any help is appreciated

Thanks,
Slyde

I don’t know anything about ULX, but I think you made it admin only.

Well, yeah. Admin+ can type !meow {name} and the image will appear on their screen, but I don’t know how to add the other 3 things.

Oh.

This is honestly a really shitty idea, don’t do it. Still, if you for some reason still insist on doing it, to open a website in the actual game you’ll need to create a browser panel. The other 2 things are ULX-specific so you’re better off asking in some ULX forum.