<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ScriptingExamples%2FBasicTimer</id>
	<title>ScriptingExamples/BasicTimer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ScriptingExamples%2FBasicTimer"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/BasicTimer&amp;action=history"/>
	<updated>2026-04-29T15:12:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/BasicTimer&amp;diff=4703&amp;oldid=prev</id>
		<title>Mex at 18:06, 5 February 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/BasicTimer&amp;diff=4703&amp;oldid=prev"/>
		<updated>2019-02-05T18:06:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Basic Timer}}&lt;br /&gt;
== Description ==&lt;br /&gt;
This code adds a message to the chat box every 5 minutes.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;JavaScript, Server-Side:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{JSCode|1=setInterval(function()&lt;br /&gt;
{&lt;br /&gt;
	message(&amp;#039;This message is shown every five minutes!&amp;#039;);&lt;br /&gt;
}, 5 * 60 * 1000);}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
The code uses [[setInterval|setInterval]], which is a shared function, shared means that the functionality is available both server-side and client-side.&lt;/div&gt;</summary>
		<author><name>Mex</name></author>
	</entry>
</feed>