mIRC Home    About    Download    Register    News    Help

Print Thread
Binary Variables #104874 09/12/04 12:27 PM
Joined: Dec 2004
Posts: 22
T
TheGateKeeper Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2004
Posts: 22
Greetings all, I am not the best at scripting, but i've been directed to here with my request. Basically I was woundering if someone would make a code/dll to do the same as $replace, but for Binary Variables. I know that the is /breplace, but it is not really what i am looking for because I want it to do the same as $replace, where you replace 1 string for another, and it keeps going. And then returning the result as binary aswell.
I wish to have it very fast so it doesn't lag up mIRC, which is why i am requesting a code or DLL.
I'm not to sure myself how to go about doing this because I just don't think i have that much knowledge to work it out to work fast enough, and my own real programming knownledge is mIRC. Thank you in advance.

Re: Binary Variables #104875 09/12/04 10:10 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline
Fjord artisan
Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Hello, that thing you are requesting is something that some uses will find very attractive if built-in in mirc since it will be a lot faster than scripted.

For now, the best way to do this is to convert the binvar to text and replace it there, then convert it again to binvar.

Re: Binary Variables #104876 10/12/04 02:36 AM
Joined: Dec 2004
Posts: 22
T
TheGateKeeper Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2004
Posts: 22
yea i know it is a useful feature, but the reason why i wanted it is because converting, and doing replaces, you will eventually run into string to long error, and that is what i am trying to over come, that is why binary replace is something that i want done.

Re: Binary Variables #104877 13/12/04 03:49 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline
Fjord artisan
Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
yep yep that is true, so to prevent that i usually do one of this 2 things:
- get groups of 900 bytes and replace them
- use bfind to get the section i need and replace it

at least until something is added to mirc to do this

Re: Binary Variables #104878 14/12/04 03:12 AM
Joined: Dec 2004
Posts: 22
T
TheGateKeeper Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2004
Posts: 22
for my purpose of this code, that would be kinda pointless because each time it goes to replace, it changes say 2 characters to like 30 characters [emoticon theme]