From WikiChip
Difference between revisions of "mirc/identifiers/$comchan"
< mirc‎ | identifiers

m (PatrolBot moved page $comchan identifier - mIRC to mirc/identifiers/$comchan: per new naming convention)
(Properties)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''$comchan''' is used to return the common channels that both the local mIRC client, and a remote user, share.
+
{{mirc title|$comchan Identifier}}'''$comchan''' is used to return the common channels that both the local mIRC client, and a remote user, share.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 15: Line 16:
 
| help | Returns {{mIRC|$true}} if the local mIRC client is a helper on the matched channel
 
| help | Returns {{mIRC|$true}} if the local mIRC client is a helper on the matched channel
 
| voice | Returns {{mIRC|$true}} if the local mIRC client is voiced on the matched channel
 
| voice | Returns {{mIRC|$true}} if the local mIRC client is voiced on the matched channel
 +
| owner | Returns {{mIRC|$true}} if the local mIRC client is owner on the matched channel
 
}}
 
}}
  
Line 32: Line 34:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|comchan]]

Latest revision as of 19:40, 16 August 2022

$comchan is used to return the common channels that both the local mIRC client, and a remote user, share.


Synopsis[edit]

$comchan(nick,N)[.property]

Parameters[edit]

nick The nickname of the user to find common channels with
N The Nth common channel that both the local and remote clients share

Properties[edit]

op Returns $true if the local mIRC client is opped on the matched channel
help Returns $true if the local mIRC client is a helper on the matched channel
voice Returns $true if the local mIRC client is voiced on the matched channel
owner Returns $true if the local mIRC client is owner on the matched channel

Example[edit]

Echo the common channels of the local client, and a remote user nicknamed myFriend:

//echo -a $comchan(myFriend,0)

Echo the common channels of the local client, and a remote user nicknamed myFriend', and if the local client is opped on the first match:

//echo -a Total common channels: $comchan(myFriend,0) --- Is opped on $comchan(myFriend,1) $+ : $comchan(myFriend,1).op

Compatibility[edit]

Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list