Est MotD F

From EventScripts Community Encyclopedia
Syntax: est_MotD_F <identifier> <Title> <command> <File>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Display a local file (on the server) in the MOTD window in plain text (upto 1,235 bytes)

Parameters

  • Title - The Title of the MotD Menu
  • command - Command to run on OK press (0 for no command)
  • File - The own.txt file you want to browse

Example


// First of all, create a test.txt in your_server/cstrike
 
event player_say
{
		//If the Player write !admins,
	if(event_var(text) == "!admins") do
	{
			//The MotD-Browser will open the test.txt File
		es est_MotD_F event_var(userid) "The Admins" 0 "test.txt"
	}
}

Notes

  • Not sure if you can browse like cfg/another_file.txt
  • Not sure if you can browse other formats like .cfg's
  • Some est_commands you can run from a client console, this is a Server-Sided command

See Also

blog comments powered by Disqus