Est GetChat

From EventScripts Community Encyclopedia
Syntax: est_GetChat <variable> <userid>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Stores the last chat message of the selected player.

Parameters

  • variable - The variable to store the chat string to.
  • userid - Userid of the target player.

Example


event player_death
{
  es_xset temp 0
  es est_GetChat temp event_var(userid)
  es_tell event_var(userid) You last said: server_var(temp)
  // Tells the player the last thing they said when they die
}

Notes

  • None
blog comments powered by Disqus