mIRC Home    About    Download    Register    News    Help

Print Thread
#94551 17/08/04 04:39 AM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
on a fileserve when u type cd <file> it goes to that file

well i have the fserve set at this directory
%directory C:\fserve\
what i want is when sum1 types cd <file> it goes to the file, but also sets a var %change which will be
/set %change $2 $+ \
and finally be /dcc send $nick %directory %change <file>
i need this cause im making queues for my script and i cant use defualt get anymore so i need to use this way can any1 help me?

#94552 17/08/04 06:37 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
mIRC already has these commands built into its fserver

The accepted commands are: cd, ls, dir, read, get, stats, who, sends, queues, clr_queues, help.

cd -------------- Change directory.
dir -------------- Lists the files in the current directory.
ls --------------- Wide directory listing.
get <file> ---- Asks the server to DCC Send the specified file.
sends --------- Displays server send status
stats ---------- Displays current server statistics.
queues ------- Displays server queue status.
who ------------ Show users on server.
clr_queues -- Removes all of your queues.
clr_queue N - Removes the queue in slot N.
exit ------------- Terminates the connection.

These commands all work with mIRC with out fancy scripting
Sure you can set the Path as a variable. But when soneone request a fiel GET <FILE>. mIRC will auto Dcc send the requested file.




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard