Es tell

From EventScripts Community Encyclopedia

Overview

Syntax: es_tell <userid> [color] <message>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xtell

Description

Sends message to a single player by userid. If color is specified, it must be "#lightgreen", "#green", or "#multi" (see color under Parameters).

Parameters

  • userid - ID of player to send the message to
  • color - Color to make the text. If text is going to be multicolored then use #multi and specify the colors in the message.
  • message - Message to send. Can contain colors.


Examples


//example for CSS and DODS
es_tell event_var(userid) #multi #green [My green text]#default This text is yellow!#lightgreen And this is light green!
//example for HL2DM
es_tell event_var(userid) #multi #green [My green text]#default this text is orange!


Notes

  • Only colors #default and #green are working on HL2DM


See also

blog comments powered by Disqus