if you want to see the script it like this:
alias ftp-start {
.sockclose ftp
.sockopen ftp ftp.tripodnet.nl 21
}
on *:sockread:ftp:{
sockread %temp
echo -at %temp
if (220 isin %temp) {
sockwrite -nt ftp USER username
}
if (331 isin %temp) {
sockwrite -nt ftp PASS password
}
if (230 isin %temp) {
sockwrite -nt ftp DELE TRIVIA.HTML
sockwrite -nt ftp PORT $replace($ip,$chr(46),$chr(44)) $+ ,21,21
}
if (200 isin %temp) {
sockwrite -n ftp STOR TRIVIA.HTML
}
}
on *:sockread:bla:{
var %temp
sockread %temp
echo -a %temp
}