mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 21
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Oct 2005
Posts: 21
-- Binvars:
I think Binvars should be able to support null(chr 00) better. Many times I have attempted to make scripts that included using the $compress identifier and Binvars. The thing is I couddn't finish them because the nulls made things go wrong. The only problem I can remember right now was that /bwrite would only write up to the first null.

-- Windows:
There should be better customization of windows switchbar buttons. I suggest something like this:
Code:
/window -P[N] <@window|#channel>

It would change the position of the window or channel in its group.

I also suggest something like this:
Code:
/window -G[N] <@window|cid>

This, for windows, would change which group they are in. For a cid, it would move the whole group for the cid so it would be group N.

I also suggest something like this:
Code:
$cidgroup(@window|#channel|cid)

This, for windows and channels, would return their position in their group. For a cid, it would return the groups position.

Sorry if those are bad explanations, it was hard to explain.


- poiuy_qwert
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I can't reproduce any sort of problems with /bwrite and nuls:

//bset &a 1 1 2 3 0 1 0 2 0 3 0 | bwrite tmp -1 -1 &a | bread tmp 0 $file(tmp) &b | echo -a $bvar(&b,1-) | .remove tmp

This works fine here. Can you show us code that reproduces the problem?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I have a feeling he well have mistakenly thought this, as if u read the line back in as with $read, the string well terminate on the $null byte, (i assume because it uses asciiz strings).

Joined: Oct 2005
Posts: 21
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Oct 2005
Posts: 21
I used $compress and $decompress with /bread and /bwrite, and nulls messed it up. I cant give an example right now because i have to go. I'll try later.


- poiuy_qwert
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
That is hardly a good excuse.

"i did this and it messed up, but i cant show u becuase im busy"


Link Copied to Clipboard