$fserve
From Scriptwiki
Returns information about a FileServe window.
$fserve(<N|nick,N)[.ip|.status|.cd]
- Parameters
- You may specify N (any number) to refer to the Nth open FileServe window. N=0 returns the number of FileServe windows.
- You may specify nick, N to return the Nth open FileServe window that is open with the given nick
- Properties
- No property - returns window name
- .ip - returns the IP with which this FileServe window is communicating
- .status - returns current status of the FileServe
- .cd - returns the current directory of the FileServe
Examples
Suppose we have two FileServe windows. One with aca20031 and one with Vliedel
$fserve(0)
Returns 2
$fserve(1)
Returns aca20031
$fserve(Vliedel,0)
Returns 1 (One window open with Vliedel)
$fserve(2).ip
Returns Vliedel's IP