https://en.wikichip.org/w/api.php?action=feedcontributions&user=83.204.132.149&feedformat=atomWikiChip - User contributions [en]2024-03-28T08:51:44ZUser contributionsMediaWiki 1.28.1https://en.wikichip.org/w/index.php?title=mirc/identifiers/$modespl&diff=11987mirc/identifiers/$modespl2015-09-28T02:42:06Z<p>83.204.132.149: Created page with "{{mirc title|$modespl Identifier}}'''$modespl''' return the maximum number of channel mode you can set at once. == Synopsis == <pre>$modespl</pre> == Paramters == None == ..."</p>
<hr />
<div>{{mirc title|$modespl Identifier}}'''$modespl''' return the maximum number of channel mode you can set at once.<br />
<br />
== Synopsis ==<br />
<pre>$modespl</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">echo -a $modespl</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.9}}<br />
<br />
== See Also ==<br />
{{mIRC|$modelast}}<br />
{{mIRC|$modefirst}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$modelast&diff=11986mirc/identifiers/$modelast2015-09-28T02:40:33Z<p>83.204.132.149: Created page with "{{mirc title|$modelast Identifier}}'''$modelast''' return $true if the channel event is the last to trigger, $false otherwise. == Synopsis == <pre>$modelast</pre> == Paramte..."</p>
<hr />
<div>{{mirc title|$modelast Identifier}}'''$modelast''' return $true if the channel event is the last to trigger, $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$modelast</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:op:#:{<br />
echo -a $modelast<br />
}</source>and send /mode #channel +oo nick1 nick2<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.6}}<br />
<br />
== See Also ==<br />
{{mIRC|$modefirst}}<br />
{{mIRC|$modespl}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$modefirst&diff=11985mirc/identifiers/$modefirst2015-09-28T02:39:29Z<p>83.204.132.149: /* Compatibility */</p>
<hr />
<div>{{mirc title|$modefirst Identifier}}'''$modefirst''' return $true if the channel event is the first to trigger, $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$modefirst</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:op:#:{<br />
echo -a $modefirst<br />
}</source>and send /mode #channel +oo nick1 nick2<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.6}}<br />
<br />
== See Also ==<br />
{{mIRC|$modelast}}<br />
{{mIRC|$modespl}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$modefirst&diff=11984mirc/identifiers/$modefirst2015-09-28T02:38:57Z<p>83.204.132.149: Created page with "{{mirc title|$modefirst Identifier}}'''$modefirst''' return $true if the channel event is the first to trigger, $false otherwise. == Synopsis == <pre>$modefirst</pre> == Par..."</p>
<hr />
<div>{{mirc title|$modefirst Identifier}}'''$modefirst''' return $true if the channel event is the first to trigger, $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$modefirst</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:op:#:{<br />
echo -a $modefirst<br />
}</source>and send /mode #channel +oo nick1 nick2<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.32}}<br />
<br />
== See Also ==<br />
{{mIRC|$modelast}}<br />
{{mIRC|$modespl}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$status&diff=11983mirc/identifiers/$status2015-09-28T02:33:53Z<p>83.204.132.149: Created page with "{{mirc title|$status Identifier}}'''$status''' return the server connection status, can be connecting, connected, disconnecting, closing, disconnected == Synopsis == <pre>$st..."</p>
<hr />
<div>{{mirc title|$status Identifier}}'''$status''' return the server connection status, can be connecting, connected, disconnecting, closing, disconnected<br />
<br />
== Synopsis ==<br />
<pre>$status</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $status</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.0}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sockname&diff=11982mirc/identifiers/$sockname2015-09-28T02:22:54Z<p>83.204.132.149: Created page with "{{mirc title|$sockname Identifier}}'''$sockbr''' return the name of the socket in the current socket event == Synopsis == <pre>$sockname</pre> == Paramters == None == Prop..."</p>
<hr />
<div>{{mirc title|$sockname Identifier}}'''$sockbr''' return the name of the socket in the current socket event<br />
<br />
== Synopsis ==<br />
<pre>$sockname</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:sockread:*:echo -a $sockname</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.3}}<br />
<br />
== See Also ==<br />
{{mIRC|$sock}}<br />
{{mIRC|$sockbr}}<br />
{{mIRC|$sockerr}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sockerr&diff=11981mirc/identifiers/$sockerr2015-09-28T02:21:32Z<p>83.204.132.149: Created page with "{{mirc title|$sockerr Identifier}}'''$sockerr''' return the socker error number if an error occured. For example, in the {{mIRC|on events/on sockopen|on sockopen}} event, if ..."</p>
<hr />
<div>{{mirc title|$sockerr Identifier}}'''$sockerr''' return the socker error number if an error occured.<br />
<br />
For example, in the {{mIRC|on events/on sockopen|on sockopen}} event, if the connection is not established, $sockerr is set<br />
<br />
== Synopsis ==<br />
<pre>$sockerr</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:sockread:name:{<br />
if ($sockerr) return<br />
...<br />
}</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.3}}<br />
<br />
== See Also ==<br />
{{mIRC|$sock}}<br />
{{mIRC|$sockname}}<br />
{{mIRC|$sockbr}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sockbr&diff=11980mirc/identifiers/$sockbr2015-09-28T02:11:05Z<p>83.204.132.149: Created page with "{{mirc title|$sockbr Identifier}}'''$sockbr''' return the number of bytes read from the last /sockread command done for that socket. == Synopsis == <pre>$sockbr</pre> == Par..."</p>
<hr />
<div>{{mirc title|$sockbr Identifier}}'''$sockbr''' return the number of bytes read from the last /sockread command done for that socket.<br />
<br />
== Synopsis ==<br />
<pre>$sockbr</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:sockread:name:{<br />
if ($sockerr) return<br />
var %a<br />
;sockread %a reads one line, or nothing<br />
;we check if we read anything before comparing<br />
if (!$sockbr) return<br />
if (%a == something) echo -a ok<br />
}</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.3}}<br />
<br />
== See Also ==<br />
{{mIRC|$sock}}<br />
{{mIRC|$sockname}}<br />
{{mIRC|$sockerr}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$switchbar&diff=11979mirc/identifiers/$switchbar2015-09-28T01:08:48Z<p>83.204.132.149: Created page with "{{mirc title|$switchbar Identifier}}'''$switchbar''' return $true if the switchbar is enabled in mIRC, $false otherwise. == Synopsis == <pre>$switchbar</pre> == Paramters ==..."</p>
<hr />
<div>{{mirc title|$switchbar Identifier}}'''$switchbar''' return $true if the switchbar is enabled in mIRC, $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$switchbar</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $switchbar</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.32}}<br />
<br />
== See Also ==<br />
{{mIRC|$menubar}}<br />
{{mIRC|$toolbar}}<br />
{{mIRC|$treebar}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$stripped&diff=11978mirc/identifiers/$stripped2015-09-28T01:07:22Z<p>83.204.132.149: Created page with "{{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any. This can be used in any script even..."</p>
<hr />
<div>{{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any. This can be used in any script event that triggers when a message is received from a user.<br />
<br />
== Synopsis ==<br />
<pre>$stripped</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:text:*:#:echo -a $stripped</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.0}}<br />
<br />
== See Also ==<br />
{{mIRC|$strip}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$timezone&diff=11977mirc/identifiers/$timezone2015-09-28T01:04:39Z<p>83.204.132.149: Created page with "{{mirc title|$timezone Identifier}}'''$timezone''' returns the current timezone setting in seconds. == Synopsis == <pre>$timezone</pre> == Paramters == None == Properties ..."</p>
<hr />
<div>{{mirc title|$timezone Identifier}}'''$timezone''' returns the current timezone setting in seconds.<br />
<br />
== Synopsis ==<br />
<pre>$timezone</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $timezone</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.1}}<br />
<br />
== See Also ==<br />
{{mIRC|$timestampfmt}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$timestampfmt&diff=11976mirc/identifiers/$timestampfmt2015-09-28T01:02:26Z<p>83.204.132.149: Created page with "{{mirc title|$timestampfmt Identifier}}'''$timestampfmt''' returns the current timestamp format as defined in the message dialog option. == Synopsis == <pre>$timestampfmt</pr..."</p>
<hr />
<div>{{mirc title|$timestampfmt Identifier}}'''$timestampfmt''' returns the current timestamp format as defined in the message dialog option.<br />
<br />
== Synopsis ==<br />
<pre>$timestampfmt</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $timestampfmt</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.0}}<br />
<br />
== See Also ==<br />
{{mIRC|$timestamp}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$timestamp&diff=11975mirc/identifiers/$timestamp2015-09-28T01:00:42Z<p>83.204.132.149: Created page with "{{mirc title|$timestamp Identifier}}'''$timestamp''' returns the current time based on the event timestamp format as defined in the message dialog option. == Synopsis == <pre..."</p>
<hr />
<div>{{mirc title|$timestamp Identifier}}'''$timestamp''' returns the current time based on the event timestamp format as defined in the message dialog option.<br />
<br />
== Synopsis ==<br />
<pre>$timestamp</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $timestamp</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.6}}<br />
<br />
== See Also ==<br />
{{mIRC|$timestampfmt}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$timeout&diff=11974mirc/identifiers/$timeout2015-09-28T00:58:45Z<p>83.204.132.149: </p>
<hr />
<div>{{mirc title|$timeout Identifier}}'''$timeout''' is a value that can be returned by {{mIRC|$input}}, just like {{mIRC|$yes}}, {{mIRC|$no}}, or {{mIRC|$null}} for example. <br />
<br />
== Synopsis ==<br />
<pre>$timeout</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $input(test,evk1)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.17}}<br />
<br />
== See Also ==<br />
{{mIRC|$input}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$timeout&diff=11973mirc/identifiers/$timeout2015-09-28T00:57:55Z<p>83.204.132.149: Created page with "{{mirc title|$timeout Identifier}}'''$timeout''' is a value that can be returned by {{mIRC|$input}}, just like $yes, $no, or $null for example. == Synopsis == <pre>$timeout<..."</p>
<hr />
<div>{{mirc title|$timeout Identifier}}'''$timeout''' is a value that can be returned by {{mIRC|$input}}, just like $yes, $no, or $null for example. <br />
<br />
== Synopsis ==<br />
<pre>$timeout</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $input(test,evk1)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.17}}<br />
<br />
== See Also ==<br />
{{mIRC|$input}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$ddename&diff=11972mirc/identifiers/$ddename2015-09-28T00:51:49Z<p>83.204.132.149: Created page with "{{mirc title|$ddename Identifier}}'''$ddename''' return the name of the current DDE service in use by the mIRC DDE Server. == Synopsis == <pre>$ddename</pre> == Paramters ==..."</p>
<hr />
<div>{{mirc title|$ddename Identifier}}'''$ddename''' return the name of the current DDE service in use by the mIRC DDE Server.<br />
<br />
== Synopsis ==<br />
<pre>$ddename</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $ddename</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.02}}<br />
<br />
== See Also ==<br />
{{mIRC|$isdde}}<br />
{{mIRC|$dde}}<br />
{{mIRC|/dde}}<br />
{{mIRC|/ddeserver}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$fullscreen&diff=11971mirc/identifiers/$fullscreen2015-09-27T20:26:30Z<p>83.204.132.149: Created page with "{{mirc title|$fullscreen Identifier}}'''$fullscreen''' returns 1 if an application is currently running in full screen mode, 0 if not. This applies to both game and non-game a..."</p>
<hr />
<div>{{mirc title|$fullscreen Identifier}}'''$fullscreen''' returns 1 if an application is currently running in full screen mode, 0 if not. This applies to both game and non-game applications.<br />
<br />
== Synopsis ==<br />
<pre>$fullscreen</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $fullscreen</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.3}}<br />
<br />
== See Also ==<br />
{{mIRC|$appactive}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$halted&diff=11970mirc/identifiers/$halted2015-09-27T20:24:19Z<p>83.204.132.149: /* See Also */</p>
<hr />
<div>{{mirc title|$halted Identifier}}'''$halted''' return $true if a previous event used {{mIRC|/halt}} or {{mIRC|/haltdef}} commands , $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$haldef</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:text:*:#:echo -a $haltdef</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.4}}<br />
<br />
== See Also ==<br />
{{mIRC|/halt}}<br />
{{mIRC|/haltdef}}<br />
{{mIRC|access levels#.26_prefix|& prefix event}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$halted&diff=11969mirc/identifiers/$halted2015-09-27T20:22:43Z<p>83.204.132.149: Created page with "{{mirc title|$halted Identifier}}'''$halted''' return $true if a previous event used {{mIRC|/halt}} or {{mIRC|/haltdef}} commands , $false otherwise. == Synopsis == <pre>$hal..."</p>
<hr />
<div>{{mirc title|$halted Identifier}}'''$halted''' return $true if a previous event used {{mIRC|/halt}} or {{mIRC|/haltdef}} commands , $false otherwise.<br />
<br />
== Synopsis ==<br />
<pre>$haldef</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:text:*:#:echo -a $haltdef</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.4}}<br />
<br />
== See Also ==<br />
{{mIRC|/halt}}<br />
{{mIRC|/haltdef}}<br />
{{mIRC|access level}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/access_levels&diff=11968mirc/access levels2015-09-27T20:18:22Z<p>83.204.132.149: /* & prefix */</p>
<hr />
<div>{{mirc title|Access Levels}}<br />
'''Access levels''' in [[mIRC]] are a mechanism by which events can be restricted to certain user levels or named groups. Almost all [[On events - mIRC|events]] have a level parameter that specifies the event's access level.<br />
<br />
== User list ==<br />
The list of users and their access is stored in the "users" tab of the script editor. Only a single address is stored per line and must follow the following syntax:<br />
<br />
<levels>:<address> <additional info><br />
<br />
Access levels are comma-delimited values that define the levels of the user. Although usually, the levels are numeric, you can use a name instead like "botAdmin" or "friends".<br />
<br />
The <info> parameter is an optional parameter that can be used to store some additional information about the user or other useful miscellaneous data.<br />
<br />
10,20:some!one@example.com<br />
friend:dan!z@some.isp.net high school friend<br />
<br />
== Adding/Removing users ==<br />
There are two commands that can be used to add a user to the access list, {{mIRC|/auser}} and {{mIRC|/guser}}. They follow this syntax:<br />
<br />
<source lang="mIRC"><br />
/auser [-a] <levels> <name|address> [info]<br />
/guser [-a] <levels> <name> [addressType] [info]<br />
</source><br />
<br />
Both {{mIRC|/auser}} and {{mIRC|/guser}} do the same thing, they add a specific user to the user list with the access levels specified (Comma delimited). The -a switch can be used to simply add additional access levels to an existing user, otherwise all the old levels gets replaced with the new ones. The fundamental difference between /auser and /guser is that {{mIRC|/guser}} can be used to look up the address of a user while {{mIRC|/auser}} requires you to provide it beforehand.<br />
<br />
<source lang="mIRC"><br />
;Add joe (address mask type 2), access level 'friend'<br />
/guser friend joe 2 neighbor<br />
</source><br />
<br />
The {{mIRC|/ruser}} command can be used to remove a user completely from the access list or simply remove one of his levels.<br />
<br />
<source lang="mIRC"><br />
/ruser [levels] <name|address> [type]<br />
</source><br />
<br />
=== For example: ===<br />
<source lang="mIRC"><br />
/ruser madman 2<br />
/ruser 2,10 foobar<br />
</source><br />
<br />
The user info parameter can be changed at any time using the {{mIRC|/iuser}} command:<br />
<br />
<source lang="mIRC"><br />
/iuser <name|address> [info]<br />
</source><br />
<br />
=== Usage ===<br />
The <level> parameter of an event is used to indicate which level/group can activate that event. For example:<br />
<br />
<source lang="mIRC"><br />
on 10:text:.hello:#:{<br />
msg $chan Hello $nick $+ !<br />
}<br />
</source><br />
<br />
Notice the access level defined is 10. In this case any user in your access list level 10 or above will trigger this event.<br />
<br />
== Event prefixes ==<br />
mIRC offers a lot of prefixes to slightly alter how the event activates.<br />
<br />
=== me prefix ===<br />
The 'me' prefix can be used to get an event to trigger only if you triggered it (only if $nick == $me)<br />
<br />
'''Note''': the me prefix is a bit special, it requires a new colon before others prefixes.<br />
<br />
For example:<br />
<br />
<source lang="mIRC"><br />
on me:*:join:#support:{<br />
msg $chan Hello $chan $+ , I need help!<br />
}</source><br />
<br />
=== ! prefix ===<br />
The exclamation mark prefix can be used to prevent an event from being activated by you (if ($nick != $me)).<br />
<br />
For example:<br />
<br />
<source lang="mIRC"><br />
on !1:join:#support:{<br />
msg $chan Hello $nick $+ , do you need help?<br />
}<br />
</source><br />
<br />
The event above will never get activated by you joining #support, only other people.<br />
<br />
=== @ prefix===<br />
The @ symbol can be used as a prefix to indicate that the event can only be activated if you are an operator in the channel. You can think of it as "if ($me isop $chan) {"<br />
<br />
For example:<br />
<br />
<source lang="mIRC"><br />
on @10:text:.op:#myChan:{<br />
mode $chan +o-v $nick $nick<br />
}<br />
</source><br />
<br />
The code above will only work if you are an operator in #myChan at the time the user typed ".o".<br />
<br />
=== & prefix ===<br />
The '''& prefix''' can be used to prevent the event from being executed if the previous event called the {{mIRC|/haltdef }} or {{mIRC|/halt}} commands (if $halted is $true).<br />
<br />
For example, given the following two on TEXT events placed in separate files...<br />
<br />
<cite>script1.mrc</cite><br />
<source lang="mIRC">on *:TEXT:!test:?:haltdef</source><br />
<br />
<cite>script2.mrc</cite><br />
<source lang="mIRC">on &*:TEXT:*:?:echo -ga I triggered because $!halted == $halted $+ !</source><br />
<br />
The second event will trigger upon recieving any msg sent via query ''except'' '''!test''', because the first event calls the ''haltdef'' command upon receiving '''!test'''.<br />
<br />
=== * prefix ===<br />
This prefix can be used to allow any user to activate the event regardless of their access level.<br />
<br />
For Example:<br />
<br />
<source lang="mIRC"><br />
on *:text:.calc *:#:{<br />
notice $nick $2- = $calc($replace($2-, pi, $pi))<br />
}<br />
</source><br />
<br />
=== + prefix ===<br />
By default, the numeric prefix means that level and any level higher can trigger that event. Using the + prefix, you can limit the event to be exactly the level specified.<br />
<br />
For example:<br />
<br />
<source lang="mIRC"><br />
on +5:text:.h:#myChan:{<br />
mode $chan +h $nick<br />
}<br />
</source><br />
<br />
The code above will only work for users with access level of exactly 5. Any user with higher access level will not activate that event.<br />
<br />
=== $ prefix ===<br />
This event prefix means the matchtext of the event is a regular expression, the delimiter are required.<br />
<br />
<source lang="mIRC"><br />
on $*:text:/^([!@.])test$/:#myChan:{<br />
msg $chan $nick triggered test with $regml(1)<br />
}<br />
</source><br />
<br />
=== Named access levels ===<br />
Sometimes it's beneficial to give an access group a name instead of a numeric value. A good example is bot admins, friends, or even channel members. You can define such groups using the normal {{mIRC|/guser}} and {{mIRC|/auser}} commands:<br />
<br />
<source lang="mIRC"><br />
/guser BotAdmin Mike123 2<br />
/guser BotAdmin Joe73 2<br />
/guser BotAdmin Dave12 2<br />
</source><br />
<br />
With that you can use the named group level in events, for example:<br />
<br />
<source lang="mIRC"><br />
on BotAdmin:text:!example:#:{<br />
msg $chan Hello Bot Admin!<br />
}<br />
</source><br />
<br />
[[Category:mIRC]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$gmt&diff=11967mirc/identifiers/$gmt2015-09-27T20:13:45Z<p>83.204.132.149: Created page with "{{mirc title|$gmt Identifier}}'''$gmt''' return the current GMT time value in {{mIRC|$ctime}} format. $gmt also accept a parameter, a date of the same format as {{mIRC|$asctim..."</p>
<hr />
<div>{{mirc title|$gmt Identifier}}'''$gmt''' return the current GMT time value in {{mIRC|$ctime}} format. $gmt also accept a parameter, a date of the same format as {{mIRC|$asctime}}.<br />
<br />
== Synopsis ==<br />
<pre>$gmt</pre><br />
<pre>$gmt(<date>)</pre><br />
<br />
<br />
== Paramters ==<br />
<br />
<span style="display: inline-block; width: 50px;">'''date'''</span>A date respecting the same format supported by {{mIRC|$asctime}}, returns the corresponding GMT time from that date.<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $gmt</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.5}}<br />
<br />
== See Also ==<br />
{{mIRC|$ticks}}<br />
{{mIRC|$date}}<br />
{{mIRC|$fulldate}}<br />
{{mIRC|$time}}<br />
{{mIRC|$timezone}}<br />
{{mIRC|$asctime}}<br />
{{mIRC|$duration}}<br />
<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$url&diff=11966mirc/identifiers/$url2015-09-27T20:05:07Z<p>83.204.132.149: Created page with "{{mirc title|$url Identifier}}'''$url''' returns the current url in your main browser, or returns information about URL in the URL list window. == Synopsis == <pre>$url</pre>..."</p>
<hr />
<div>{{mirc title|$url Identifier}}'''$url''' returns the current url in your main browser, or returns information about URL in the URL list window.<br />
<br />
== Synopsis ==<br />
<pre>$url</pre><br />
<pre>$url(<N>)[.properties]</pre><br />
<br />
== Paramters ==<br />
<br />
<span style="display: inline-block; width: 50px;">'''N'''</span>The Nth URL in the list or return the total number of URL if N = 0.<br />
<br />
== Properties ==<br />
<br />
<span style="display: inline-block; width: 80px;">'''desc'''</span>Returns the description of the URL.<br />
<br />
<span style="display: inline-block; width: 80px;">'''group'''</span>Returns the group of the URL.<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $url</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See Also ==<br />
{{mIRC|/url}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/identifiers/$wid&diff=11965mirc/identifiers/$wid2015-09-25T20:34:53Z<p>83.204.132.149: Created page with "{{mirc title|$wid Identifier}}'''$wid''' return the window id for the current script. == Synopsis == <pre>$wid</pre> == Paramters == None == Properties == None == Exampl..."</p>
<hr />
<div>{{mirc title|$wid Identifier}}'''$wid''' return the window id for the current script.<br />
<br />
== Synopsis ==<br />
<pre>$wid</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">on *:text:*:#:echo -a $toolbar</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.0}}<br />
<br />
== See Also ==<br />
{{mIRC|$cid}}<br />
{{mIRC|/scid}}<br />
{{mIRC|/scon}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11963mirc/=$nick identifier2015-09-24T22:14:54Z<p>83.204.132.149: </p>
<hr />
<div>{{mirc title|1==$nick Identifier}}'''=$nick''' refers to the open [[Dcc chat - mIRC|DCC Chat]], or [[Dcc fserv - mIRC|DCC Fserv]] window for a user. The '''=$nick''' can be used in this identifier form, or a literal nickname can be used in its place, such as in the case of the following:<br />
<source lang="mIRC">/msg =myFriend Hey there! This is going to your DCC Chat window!</source><br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Parameters ==<br />
<span style="display: inline-block; width: 70px;">'''$nick'''</span>'''{{mIRC|$nick}}''' can be replaced with an actual, literal nickname, rather than using an event-driven filled identifier.<br />
<br />
== Examples ==<br />
<source lang="mIRC">; Event messages a user back inside of a DCC Chat<br />
; when they type: !myaddress [N], where [N] is a number, 0-9, of<br />
; their address mask.<br />
<br />
ON *:CHAT:!myaddress *: {<br />
<br />
; Set the %num variable to whatever comes after !myaddress<br />
var %num = $2<br />
<br />
; Verify that %num is a number, greater than or equal to 0,<br />
; and less than 10 (0-9) since those are the only available<br />
; options for $address(Nick,<N>).<br />
if ((%num isnum) && (%num >= 0) && (%num < 10)) {<br />
<br />
; Using the =$nick identifier, a message is sent to the<br />
; user, with their address mask utilizing the number mask<br />
; they have requested.<br />
msg =$nick !myaddress Result: $address($nick,%num)<br />
}<br />
}</source><br />
<br />
Now, any user in a DCC Chat can type: '''!myadress 3''', and it would return their address masked in the form of: *!*Nickname@provider.net<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|3.1}}<br />
<br />
== See Also ==<br />
* [[On chat - mIRC|ON CHAT]]<br />
* [[On serv - mIRC|ON SERV]]<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11962mirc/=$nick identifier2015-09-24T22:13:22Z<p>83.204.132.149: </p>
<hr />
<div>{{mirc title|⁼$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat/fserv window.<br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
on *:chat:!test:msg =$nick test successful<br />
on *:serv:!test:msg =$nick test successful<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
{{mIRC|on events/on chat|on chat}}<br />
{{mIRC|on events/on serv|on serv}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11961mirc/=$nick identifier2015-09-24T21:43:32Z<p>83.204.132.149: </p>
<hr />
<div>{{mirc title|=$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat/fserv window.<br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
on *:chat:!test:msg =$nick test successful<br />
on *:serv:!test:msg =$nick test successful<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
{{mIRC|on events/on chat|on chat}}<br />
{{mIRC|on events/on serv|on serv}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11960mirc/=$nick identifier2015-09-24T21:42:12Z<p>83.204.132.149: </p>
<hr />
<div>={{mirc title|$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat/fserv window.<br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
on *:chat:!test:msg =$nick test successful<br />
on *:serv:!test:msg =$nick test successful<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
{{mIRC|on events/on chat|on chat}}<br />
{{mIRC|on events/on serv|on serv}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11959mirc/=$nick identifier2015-09-24T21:37:55Z<p>83.204.132.149: </p>
<hr />
<div>{{mirc title|=$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat/fserv window.<br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
on *:chat:!test:msg =$nick test successful<br />
on *:serv:!test:msg =$nick test successful<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
{{mIRC|on events/on chat|on chat}}<br />
{{mIRC|on events/on serv|on serv}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149https://en.wikichip.org/w/index.php?title=mirc/%3D$nick_identifier&diff=11958mirc/=$nick identifier2015-09-24T21:36:15Z<p>83.204.132.149: Created page with "{{mirc title|=$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat window. == Synopsis == <pre>=$nick</pre> == Pa..."</p>
<hr />
<div>{{mirc title|=$nick Identifier}}'''=$nick''' is a construct which can be used in {{mIRC|/msg}} to send a message to a dcc chat window.<br />
<br />
== Synopsis ==<br />
<pre>=$nick</pre><br />
<br />
== Paramters ==<br />
<br />
None<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
on *:chat:!test:msg =$nick test successful<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
{{mIRC|on events/on chat|on chat}}<br />
{{mIRC|on events/on serv|on serv}}<br />
[[Category:MIRC identifiers]]</div>83.204.132.149