mIRC Homepage

clipboard and text or timer problem

Posted By: Giacomino

clipboard and text or timer problem - 10/07/04 10:58 PM

hi, i am italian so i speak little english...

i have a problem with mirc 6.14

1) when i write some space, for example 3 spaces, in my text the output is only one space. example:

i digit: Ciao ___ Ciao
i see: Ciao _ Ciao

(i assume that _ is space) the problem is on forum too frown

why?

2) when i use the msg or say in my script for write a text with a { or } there is a problem is on a timer example

example :

pclipbrd2 {
var %pCBdly = 1700
var %tmpCBct = 1
while (%tmpCBct <= $cb(0)) {
if $cb(%tmpCBct) != $null { .timer -m 1 $calc(%tmpCBct * %pCBdly) msg %nick $cb(%tmpCBct) }
inc %tmpCBct 1
continue
}
}

if i copy the script in clipboard e then i launch the script there is problem: the { o } are not displayed.

if i remove the timer istruction there is the 1) problem only....

why for the problem 2) ?


thanks
Posted By: Online

Re: clipboard and text or timer problem - 10/07/04 11:16 PM

  1. By design, all mIRC commands strip consecutive spaces.

    If you have an On Input event that intercepts your line and uses /say or /msg to send it, that's why your doubled spaces are lost.

    As of now there's no fix or workaround for the On Input limitation.
  2. Use /play -b nick 1700
Posted By: tidy_trax

Re: clipboard and text or timer problem - 10/07/04 11:18 PM

1)

This is due to $1, $2, etc, for example (assuming _ is a space):

/tokenize 32 1 ___ 2 ___ 3

$1 = 1, $2 = _, $3 = 2, $4 = _, $5 = 3

2)

pclipbrd2 { play -b %nick 1700 }
© 2020 mIRC Discussion Forums