Garry's Mod Wiki

GM:OnChatTab

  string GM:OnChatTab( string text )

Description

Called when the local player presses TAB while having their chatbox opened.

Arguments

1 string text
The currently typed into chatbox text

Returns

1 string
What should be placed into the chatbox instead of what currently is when player presses tab