<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=OnCommand</id>
		<title>OnCommand - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=OnCommand"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=OnCommand&amp;action=history"/>
		<updated>2026-05-26T00:17:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=OnCommand&amp;diff=52&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function OnCommand(ID: Byte; Text: string): boolean;''    '''Parameter Info:'''   ID (Byte): ID of the player who sent the command. (255 = S...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=OnCommand&amp;diff=52&amp;oldid=prev"/>
				<updated>2012-08-15T08:23:29Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function OnCommand(ID: Byte; Text: string): boolean;&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   ID (Byte): ID of the player who sent the command. (255 = S...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function OnCommand(ID: Byte; Text: string): boolean;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  ID (Byte): ID of the player who sent the command. (255 = Server)&lt;br /&gt;
  Text (String): Command which has been sent.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This procedure will be called every time an ingame Admin or TCP Admin send a / command.&lt;br /&gt;
  You may add your own commands here.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;begin&lt;br /&gt;
    if Text = '/test' then begin&lt;br /&gt;
       WriteLn('Test successful!');&lt;br /&gt;
    end;&lt;br /&gt;
    Result := false; // Return true if you want to ignore the command typed.&lt;br /&gt;
end;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Events/OnCommand.html Scripting Manual page for OnCommand]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Events]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>