I'm not entirely sure what you mean here, but if you mean you only want this script to work when you are opped, then simply use the @ suffix for your events.

on @*:JOIN:#: { } for example, will only work if someone joins when you are opped.

Alternatively, if you want to continue updating your info even when you are not opped, but don't want the echo to show, simply use the same method you have in the nicklist popups, using if ($me isop $chan) { } etc.

Hope this helps.