Identifiers

From IceChat Wiki
Revision as of 03:04, 22 November 2014 by IceCold (Talk | contribs) (Created page with "<em>Identifiers</em> are a set of reserved words that can be used in Aliases, Popup Menus, and directly as commands on the server or channel windows. They are always p...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Identifiers are a set of reserved words that can be used in Aliases, Popup Menus, and directly as commands on the server or channel windows. They are always preceded by the $ symbol.

The Identifiers can be divided into several categories:

  • Server-related information
  • IceChat Setting information
  • IceChat External information
  • Environment information

You can use the Identifiers on the servers and channels window by typing the following in the input line:
//say <Identifier>

Example:
//say $version

Will return the program name and its currently installed version. At the time of writing, it returns:
IceChat 9.0

Server-related information

$me
Displays the current NickName set for the current server.
$cme
Displays the NickName.
$altnick
Displays the current Alt NickName set for the current server.
$ident
Displays the Ident Name set for the current server.
$fullhost
Displays the current NickName.
$fullname
Displays the FullName set for the current server.
$network
The network to which your current server belongs. For example, irc.quakenet.org server list.
$port
The port number through which you are connected to the current server.
$encoding
The encoding defined for the current server in the current server's settings.
$quitmessage
quit Message defined for the current server.
$serverid
The ordinal number of the current server in the Server Tree. In the provided link, the irc.freenode.net will get the number 2.
$server
The name of the currently connected server.
$serverip
The IP address of the currently connected server.
$randquit
The quit message that was set for the current server.
$chanlogdir
The current-channel log folder.
$totallines
The number of text lines on the current window.

IceChat Setting information

$theme
The currently used IceChat Theme.
$icechatver
The currently installed version.
$version
The client name (IceChat) followed by the currently installed version.
$icechat
The client name (IceChat), followed by the currently installed version, followed by IceChat web site address.
$icepath, $icechatexedir
The directory where IceChat 9 is installed.
$plugindir
The directory where IceChat 9 plugins are located.
$icechatdir
The location of the Data Folder.
$randcolor
A random number between 0 and 71. This number represents an ordinal number of a random color on the Colors palette.
$totalplugins
Displays the number of loaded plugins.
$plugins
Lists the currently loaded plugins.

IceChat External information

$colors
The filename of the currently used Theme.
$aliasfile
The location and name of the aliases file. The file is located in the Data Folder
$serverfile
The location and name of the server file. The file is located in the Data Folder.
$popupfile
The location and name of the Popup Menus file. The file is located in the Data Folder.
$logdir
The location of the log file. The file is located in a sub-folder under the Data Folder.

Environment information

$ip
Your system's external IP address
$localip
Same as $ip.
$online
The online time since the last boot.
$appdata
The Windows current-user's %LOCALAPPDATA% folder.
$os
The operating system's name.
$ossp
Windows servise pack.
$osbuild
Windows build number.
$osplatform
Platform information for the operating system.
NOTE: Win32NT is returned for both 32bit and 64bit.
$osbits
The processor architecture, 32 or 64 bit.
$time
The system's local time.
$date
The system's local date.
$icechathandle
The window handle of IceChat current instance.
$tickcount, $ticks
The number of milliseconds elapsed since the system started.
$totalwindows
The number of open tabs.
$totalscreens
The number of screens connected to this operating system.
$currentwindow, $active
The currently active tab.
$framework
The .NET major, minor, build, and revision numbers.
$uptime2
The number of miliseconds since the last boot converted into a human readable format.
$uptime
Similar to $uptime2 from another system resource.
$mono
Displays the Mono Framework version time if the system runs under Mono.