home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
napalm.napnet.hu
/
2015-02-12.napalm.napnet.hu.tar
/
napalm.napnet.hu
/
programok
/
kommunikacio
/
mpp700.exe
/
x-plorer.mrc
< prev
next >
Wrap
Text File
|
2003-05-03
|
4KB
|
89 lines
;X-plorer v4.0 By DMagic1.
;remotely and visually explore fserver's
#fserveex on
on *:chat:*:{
if ($1 == [\]) && ($dialog(fs.expl) == $null) { f.ex | msg = $+ $did(fs.expl,3).text dir | goto endB }
if ($1 == ['C') { f.ex | msg = $+ $did(fs.expl,3).text dir | msg = $+ $did(fs.expl,3).text dir | goto endB }
if ($1 == agree) { f.ex | msg = $+ $did(fs.expl,3).text agree }
:endB
if ($dialog(fs.expl)) {
set %fs.niga $1-
if (%fs.niga == [\*.*]) { halt }
if (%fs.niga == End of list.) { halt }
if ( [\ isin %fs.niga) { halt }
if ( elcome isin %fs.niga ) { goto fread }
if ( Send isin %fs.niga ) { goto fread }
if ( byte(s) isin %fs.niga ) { goto fread }
if ( file(s) isin %fs.niga ) { goto fread }
if ( accessed isin %fs.niga ) { goto fread }
if ( ileserver isin %fs.niga ) { goto fread }
if ( fail(s) isin %fs.niga ) { goto fread }
if ( queue isin %fs.niga ) { goto fread }
if ( 4-2k isin %fs.niga ) { goto fread }
if ( requested isin %fs.niga ) { goto fread }
if ( login isin %fs.niga ) { goto fread }
if ( stats isin %fs.niga ) { goto fread }
if ( ueued isin %fs.niga ) { goto fread }
if ( Joined isin %fs.niga ) { goto fread }
if ( cps isin %fs.niga ) { goto fread }
if ( Sent isin %fs.niga ) { goto fread }
if ( Invalid isin %fs.niga ) { goto fread }
if ( Closing isin %fs.niga ) { msg = $+ $did(fs.expl,3).text cd~ | goto fread }
did -a fs.expl 4 $strip(%fs.niga,burc) | did -z fs.expl 4 | goto fpass
:fread
did -a fs.expl 11 $strip(%fs.niga,burc) $crlf | did -z fs.expl 11
:fpass
}
else halt
}
on *:chat:
alias f.ex { dialog -md fs.expl fs.expl }
dialog fs.expl {
title "X-plorer v4.0 by DMagic1"
size -1 -1 490 410
button "Close X-plorer",1, 360 380 80 20,ok
box "X-plorer",2, 10 5 464 260
combo 3, 140 15 130 110,drop
list 4, 25 35 435 215,vsbar hsbar autohs autovs
edit "", 11, 10 270 464 105,read multi vsbar hsbar autohs autovs
button "Clear Que",9, 15 380 60 20
button "Sends",5, 135 380 60 20
button "Queues",7, 205 380 60 20
button "Exit FServer",8, 280 380 70 20
text "Click folders(upper case) to enter. Click files(lower case) to download.",10, 18 247 372 19
}
on *:dialog:fs.expl:sclick:9:{ .msg = $+ $did($dname,3).text clearq | .msg = $+ $did($dname,3).text clr_queues }
on *:dialog:fs.expl:sclick:5:{ .msg = $+ $did($dname,3).text sends }
on *:dialog:fs.expl:sclick:7:{ .msg = $+ $did($dname,3).text queues }
on *:dialog:fs.expl:sclick:8:{ .msg = $+ $did($dname,3).text exit }
on *:dialog:fs.expl:init:0:{
did -z $dname 4
set %fs.num 0
:lewp
inc %fs.num
if ($fserv(%fs.num) != $null) { did -a $dname 3 $fserv(%fs.num) | goto lewp }
else { unset %fs.num | did -c $dname 3 1 | goto check0 }
:check0
set %fs.num 0
:lewp1
inc %fs.num
if ($chat(%fs.num) != $null) { did -a $dname 3 $chat(%fs.num) | goto lewp1 }
else { unset %fs.num | did -c $dname 3 1 | goto check1 }
:check1
if ($did($dname,3).text != $null) did -a $dname 4 ..
else { did -a $dname 4 Not Connected... }
}
on *:dialog:fs.expl:dclick:4:{
%goodtxt = $deltok($did($dname,4,$did($dname,4).sel).text,$numtok($did($dname,4,$did($dname,4).sel).text,32),32)
%clickon = $did($dname,4,$did($dname,4).sel).text
if ($did($dname,4,$did($dname,4).sel).text == ..) { .msg = $+ $did($dname,3).text cd .. | did -r $dname 4 }
if ($chr(46) isin %clickon) {
if (($right($did($dname,4,$did($dname,4).sel).text,3) == $chr(32) $+ mb) || ($right($did($dname,4,$did($dname,4).sel).text,3) == $chr(32) $+ kb)) { .msg = $+ $did($dname,3).text get $deltok(%goodtxt,$numtok(%goodtxt,32),32) $crlf | goto endclick }
if (($right(%clickon,1) === b) || ($right(%clickon,1) === k)) { .msg = $+ $did($dname,3).text get $deltok($did($dname,4,$did($dname,4).sel).text,$numtok($did($dname,4,$did($dname,4).sel).text,32),32) }
:endclick
else { .msg = $+ $did($dname,3).text cd $did($dname,4,$did($dname,4).sel).text | did -r $dname 4 | .msg = $+ $did($dname,3).text dir }
}
else { .msg = $+ $did($dname,3).text cd $did($dname,4,$did($dname,4).sel).text | did -r $dname 4 | .msg = $+ $did($dname,3).text dir }
}
#fserveex end