mIRC Home    About    Download    Register    News    Help

Print Thread
#114907 19/03/05 02:40 PM
Joined: Mar 2005
Posts: 15
phishes Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Mar 2005
Posts: 15
i've got this in my script

Code:
on ^*:rawmode:# {  echo -i25 # 01,13 $+ $timestamp $+  $+ $str(€,14) 01,13···> $nick is setting mode07: ( $+ $1 $replace($2-,$chr(32),$chr(44) $+ $chr(32)) $+ 07) | halt }  


works fine for things like
ChanServ is setting mode: (+oq phishes, phishes)

but for a singular mode, like setting +s i get a space

phishes is setting mode: (+s )

how do i get rid of the space so it's like (+s)

thanks.

#114908 19/03/05 02:53 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Code:
on ^*:rawmode:#[color:red]:[/color] { echo -i25 # 01,13 $+ $timestamp $+  $+ $str(€,14) 01,13···> $nick is setting mode07: $+($chr(40),,$1,$iif($2 != $null,$chr(32) $+ $replace($2-,$chr(32),$chr(44) $+ $chr(32))),07,$chr(41)) | halt }

Last edited by mIRCManiac; 19/03/05 02:57 PM.
#114909 19/03/05 03:01 PM
Joined: Mar 2005
Posts: 15
phishes Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Mar 2005
Posts: 15
Brilliant, thanks very much! laugh


Link Copied to Clipboard