mIRC Home    About    Download    Register    News    Help

Print Thread
clipboard and text or timer problem #89977 10/07/04 10:58 PM
Joined: Jul 2004
Posts: 2
G
Giacomino Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Jul 2004
Posts: 2
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

Re: clipboard and text or timer problem #89978 10/07/04 11:16 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
  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

Re: clipboard and text or timer problem #89979 10/07/04 11:18 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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 }


New username: hixxy