PDA

View Full Version : Help Plz



-=SE|Blizzard=-
07-06-2001, 18:08
Can u help me with a scipt?

alias whatever.update.get {
echo -a Getting new version
sockclose getupdate
sockopen getupdate http://www.efter-stormen.com 80
}
on *:sockopen:getupdate:{ if ($sockerr == 0) { sockwrite -n $sockname GET /zynaps/files/test_ $+ %whatever.update $+ .zip } }
on *:sockread:getupdate:{ if ($sockerr == 0) {
; What goes here to remake the zip file?
sockclose $sockname
}
}

%whatever.update = 0.8.0

Thanks for any help

GameGuru
07-06-2001, 21:02
I'll look into this for u, I'm not familiar with socket connections with mIRC (I don't like the idea of mIRC opening and closing sockets, leaves u open to exploits.)

-=SE|Blizzard=-
08-06-2001, 13:19
Thanks