Notifications for anonymous user

How to add a notification to an anonymous user that you need to go to the site for the correct operation of scripts?

I asked - I answered :grinning:
I edit page https://yoursite/wiki/inline/Panels/Welcome
and add this script

    #if (!$xcontext.userReference)
   Notice! Message for guest users
    so good

If your welcome panel not enabled -> https://yoursite/wiki/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Panels.PanelWizard&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard