home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 3
/
FREEWARE.BIN
/
mop_data
/
nac
/
login.plm
next >
Wrap
Text File
|
1980-01-02
|
2KB
|
85 lines
/*** Nifty Autopilot Commands v1.20 for MOPTERM・v0.97j ***/
/***** ↓↓↓ LOGINコマンド ↓↓↓ *****/
%LOGIN /*** Calling "LOGOUT" ***/
{[Telno,Idno,Pswd]
%Login1
{
%Login2
{
%Login3
{
wait({10},{discon;stop},
{User-ID Error},{Login2},
{Password --->},
{type(Pswd);type({\n});
wait({20},{LOGOUT},{Password ERROR},{Login3},
{ようこそNIFTY-Serveへ},
);
}
);
};
wait({10},{discon;stop},
{INPUT Error},{Login1},
{User-ID --->},{type(Idno);type({\n})}
);
Login3;
};
wait({10},{discon;stop},{Connection-ID --->},,);
type({SVC/99\n});
Login2;
};
%TypeCN
{
type({C NIF\n});
wait({4},{discon;stop},{COM},{Login1},
{NP},{discon;stop},{DER},{discon;stop},
{NA},{TypeCN},{DTE},{TypeCN},{OCC},{TypeCN},
{NC},{TypeCN},{RPE},{TypeCN}
);
};
%Type00
{
type({.00+\n});
wait({4},{discon;stop},{COM},{Login1},
{41+},{discon;stop},{46+},{discon;stop},
{ERR INC},{Type00},{00+},{Type00},{21+},{Type00},{22+},{Type00},
{24+},{Type00},{25+},{Type00},{43+},{Type00},{71+},{Type00}
);
};
dial(Telno);
wait({4},{type({.00+\n})});
wait({1},{type({@P\n})});
wait({10},{Type00},{COM},{Login1},
{ERR INC},{Type00},{HOST NAME?\n*},{TypeCN}
);
};
/***** ↑↑↑ LOGINコマンド ↑↑↑ *****/
/***** ↓↓↓ LOGOUTコマンド ↓↓↓ *****/
%LOGOUT /*** Not calling ***/
{
%Logout1
{
type({OFF\n});
wait({20},{discon},
{HOST NAME?\n*},{type({OFF\n});discon},{01+},{discon}
);
};
type({OFF\n});
wait({20},{Logout1},
{HOST NAME?\n*},{type({OFF\n});discon},{01+},{discon}
);
};
/***** ↑↑↑ LOGOUTコマンド ↑↑↑ *****/
/*** NAC , written by Dante 90.01/10 , public domain ***/
/*** NACファイル ***/
LOGIN(TEL1,ID1,PS1);