(Created $comchan identifier - mIRC) |
(→Properties) |
||
(7 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 12: | Line 13: | ||
== Properties == | == Properties == | ||
{{ArgsList | {{ArgsList | ||
− | | op | Returns | + | | op | Returns {{mIRC|$true}} if the local mIRC client is opped on the matched channel |
− | | help | Returns | + | | help | Returns {{mIRC|$true}} if the local mIRC client is a helper on the matched channel |
− | | voice | Returns | + | | 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 25: | Line 27: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.0}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
− | * | + | * {{mIRC|$channel}} |
− | * | + | * {{mIRC|$nick}} |
+ | {{mIRC identifier list}} | ||
− | [[Category:mIRC identifiers]] | + | [[Category:mIRC identifiers|comchan]] |
Latest revision as of 18: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.