mIRC Home    About    Download    Register    News    Help

Print Thread
E
eawedat
eawedat
E
hey all,

Is there a way getting clipboard in mIRC ?

Code:
alias ctrl_v {
echo -a content_From_clipboard
}


thanks a lot.

Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
/help $cb

E
eawedat
eawedat
E
thanks a lot:)

E
eawedat
eawedat
E
argv[0]

I wrote this :
Code:
alias paste {
  var %i = 1
  while (%i <= $cb(0)) {
    echo -a $cb(%i)
    inc %i
  }
}

but I have problem when I get to a blank line
is there a trick or something to echo a blank line above ?


thanks.

Last edited by eawedat; 11/08/12 06:40 PM.
Joined: Nov 2009
Posts: 295
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
Well here is a quick fix. It checks if the clipboard line is empty and if it is, it uses a color code so the line isn't empty which causes the error.

echo -a $iif($cb(%i),$v1,)

The color code is there but it's character isn't always visible.

E
eawedat
eawedat
E
pball thank you;)

I did another thing :

Code:
echo -a $cb(%i) $+ 


Link Copied to Clipboard