Quote:
Originally Posted by coolcooliscool
@doggy : Make a tutorial for this and you become a lot of thanks . Good work
|
In a script of only 13 lines, and that can be reduced a half
const
Title = 'Title: Made by Vokovl';
var
p: integer;
begin
if (not _gFromserv)and(_gServPort=80) then
begin
p := pos('&sample=1', _gBuff);
if p>0 then
insert('&multiplier=1', _gBuff, p+9);
_gOutBuff := _gBuff;
end;
end.
like that
begin
if (not _gFromserv)and(_gServPort=80)and (pos('&sample=1', _gBuff)>0) then
begin
insert('&multiplier=1', _gBuff,pos('&sample=1', _gBuff)+9);
_gOutBuff := _gBuff;
end;
end.