(Created page with "{{mirc title|$fserv Identifier}}The '''$fserv''' identifier can be used to gather various details regarding open Fserve windows. == Synopsis == <p...") |
(→Properties) |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
| idle | How long since the remote user sent data | | idle | How long since the remote user sent data | ||
| ip | The [[IP Address]] for the remote user | | ip | The [[IP Address]] for the remote user | ||
− | | status | The status of the window; returns: '''active''', or '''inactive''' | + | | status | The status of the window; returns: '''active''', '''waiting''', or '''inactive''' |
| stamp | Returns either {{mIRC|$true}}, or {{mIRC|$false}} depending on if time-stamping is enabled or disabled. | | stamp | Returns either {{mIRC|$true}}, or {{mIRC|$false}} depending on if time-stamping is enabled or disabled. | ||
| wid | The mIRC window id for this window | | wid | The mIRC window id for this window | ||
+ | | logfile | The log filename for that window | ||
}} | }} | ||
Latest revision as of 04:24, 17 August 2022
The $fserv identifier can be used to gather various details regarding open Fserve windows.
Synopsis[edit]
$fserv(N/nick[,N])[.property]
Parameters[edit]
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[edit]
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, waiting, 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
logfile The log filename for that window
Example[edit]
Echo all open Fserve connections:
//echo -a $fserv(0)
Echo the current directory of the 1st Fserve:
//echo -a $fserv(1).cd
Compatibility[edit]
Added: mIRC v6.3
Added on: 16 Aug 2007
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.