I have been trying to make it so when someone does @ it prints in their chat a message. This is the code so far
hook.Add( "PlayerSay", "Report", function( ply, text, team ) if ( string.sub( text, 1, 1 ) == "@" ) then return Player:PrintMessage( HUD_PRINTTALK, "[Reports] You're call has been noted and you have been added to the queue. Please be patient!") end end )
And when @ is used nothing does it.