mIRC Home    About    Download    Register    News    Help

Print Thread
#18055 04/04/03 10:03 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32
Hello, can anyone find what Im doing wrong with this one

Code:
on *:sockread:lokki:{
  sockread %rdsck
  if ($gettok(%rdsck,1,32) == 220) {
    sockwrite -n $sockname USER username
    sockwrite -n $sockname PASS password
    sockwrite -n $sockname TYPE A
    sockwrite -n $sockname PASV
    .timer 1 0.8 sockwrite -n $sockname LIST
    socklisten dataport
  }
  echo -at %rdsck
}
on *:socklisten:dataport:{
  sockaccept dataport
  echo -at test
}  


am a big noob
#18056 05/04/03 11:10 PM
Joined: Feb 2003
Posts: 33
G
Ameglian cow
Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 33
if it is for accessing a webspace or some though you will find some script on www.mircscripts.org

u would like to help yah but i haven't yet tryed somthing with sock's so i don't know how it works



Link Copied to Clipboard