From WikiChip
mirc/commands/fclose
< mirc‎ | commands
Revision as of 23:44, 2 December 2013 by David (talk | contribs) (Created page with "The '''/fclose command''' closes a file open that was previously opened via the /fopen command. This command supports a wildcard pattern for its hand...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /fclose command closes a file open that was previously opened via the /fopen command. This command supports a wildcard pattern for its handle name.

Synopsis

/fclose <handle>
/fclose <wild_handle>

Switches

  • <handle> - The name of the handle
  • <wild_handle> - A wildcard handle pattern

Parameters

None

Example

alias example {
  ;open the file
  .fopen -o x example.txt
  ;write to it
  .fwrite x Print this line.
  ;close the file handle
  .fclose x
}

Compatibility

Added: mIRC v6.1

Added On: 29/08/2003

Note: Individual switches were not taken into consideration.

See also