I need to test the command first to get some insight as to why it isn't doing as you intend before answering your first two questions, but I highly suspect the reason is because you're passing openedurl
(which I assume is a string) and target_plys
while you only have one thing for it to replace, #T
not really an edit: Something I just realized is that you only have one argument set with cmd:addParam()
, so openedurl
will always be nil
. This could also cause problems with fancyLog.
As for how to make the image pop up without you being able to close it, you'll most likely need to create your own custom menu.
And as a final aside, some unsolicited advice: making an image pop up on player's screens without them being able to close it is a good way to get them to leave your server and never come back. At least, that would be my reaction to this if I had recently joined.
I think BlueNova had a good idea with separating the commands, as setOpposite isn't really intended to be used for silencing commands, but at the same time that issue could be fixed (I'm 99.9% certain, at least) while keeping them combined.
I guess I didn't read your second question correctly the first time around. I don't believe fancyLogAdmin accepts color arguments, so you'll have to use ULib.tsayColor