-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
mirc/identifiers/$cb
< mirc | identifiers
The $cb identifier allows mIRC to return the contents of the Windows Clipboard.
Synopsis
$cb[(N)[.len]]
Parameters
N The Nth item in the clipboard to retrieve specific data for
Properties
len Returns length information regarding clipboard items
Example
Echo clipboard contents to the active window:
//echo -a $cb
Echo the total number of clipboard entires to the active window:
//echo -a $cb(0)
Create a custom alias that will open a custom window @myWindow, and then echo all clipboard line contents to it:
; Use: /cblist alias cblist { ; Open the window, and clear it just in case it was already opened window @myWindow clear @myWindow ; Set the %i, our counting variable, to the start value of 1, and ; set the %x variable to the amount of lines in the clipboard var %i = 1, %x = $cb(0) ; Loop until %x has gone through all clipboard contents while (%i <= %x) { echo @myWindow $cb(%i) inc %x } echo @myWindow Clipboard contents finished! }
Compatibility
Added: mIRC v6.2
Added On: 28/07/2006