Trigger a chat message to display players name and more?

Im currently using another persons tutorial script, However I would like to add when they press spawn (code below) it shows sends a message in chat that shows they’ve finished the tutorial. for instance
Thanks (source?) for finishing the tutorial, you may press /cmds, /help or /rules for a refresh of information.

RegisterNetEvent("tutorial:spawn")
AddEventHandler("tutorial:spawn", function()
    DoScreenFadeOut(1000)
  	-- Here is where you set where you want to player to spawn after they complete the tutorial
    SetEntityCoords(GetPlayerPed(-1), tonumber("1839.15"), tonumber("3672.2"), tonumber("34.2768"), 1, 0, 0, 1)
    Citizen.Wait(1000)
    DoScreenFadeIn(1000)   
end)

this ^ code came out of client.lua

This code of from another file “click.lua”

RegisterNUICallback('spawnButton', function(data, cb) 

	TriggerEvent("tutorial:spawn", source)
	SetNotificationTextEntry("STRING")
  AddTextComponentString("~g~Tutorial completed. ~w~Welcome to ~b~".. servername .."~w~!")
  DrawNotification(true, false)
  	ToggleActionMenu()
  	SetNuiFocus( false )
		SendNUIMessage({
			showPlayerMenu = false
		})
  	cb('ok')
end)