From WikiChip
mirc/identifiers/$fserve
< mirc‎ | identifiers
Revision as of 11:42, 1 July 2014 by Zmodem (talk | contribs) (Created $fserve identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $fserve identifier can be used to gather various details regarding open Fserve windows.

Synopsis

$fserve(N/nick[,N])[.property]

Parameters

N/nick Refers to either the Nth open connection, or the connection associated with a specific user's nickname
[N] If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match

Properties

cd The current directory of the Fserve
cid The connection id for this window
hwnd The window handle for this window
idle How long since the remote user sent data
ip The IP Address for the remote user
status The status of the window; returns: active, or inactive
stamp Returns either $true, or $false depending on if time-stamping is enabled or disabled.
wid The mIRC window id for this window

Example

Echo all open Fserve connections:

//echo -a $fserve(0)

Echo the current directory of the 1st Fserve:

//echo -a $fserve(1).cd

Compatibility

Added: mIRC v6.3

Added On: 16/08/2007

See Also