From WikiChip
Difference between revisions of "mirc/commands/unload"
< mirc‎ | commands

(Created /unload command page)
 
m
Line 14: Line 14:
  
 
= Examples =
 
= Examples =
 +
'''Unload a script file'''
 
<pre>/unload -rs myfile.mrc</pre>
 
<pre>/unload -rs myfile.mrc</pre>
 +
 +
'''Unload a script file and prevent it from triggering it's ''ON *:UNLOAD:'' event'''
 +
<pre>/unload -rsn myfile.mrc</pre>
 +
 +
'''Unload an alias file'''
 
<pre>/unload -a myalias.mrc</pre>
 
<pre>/unload -a myalias.mrc</pre>

Revision as of 22:05, 22 June 2014

The /unload command is used to unload either an alias file or a script file.

Note: The command cannot unload the popups.ini file.

Synopsis

/unload <-a|-nrs> <filename>

Switches

-aAllows you to unload a specific alias file.

-rsUnloads the specified script/remotes file.

-nProhibits the script file you are unloading from triggering any ON *:UNLOAD: events.

Examples

Unload a script file

/unload -rs myfile.mrc

Unload a script file and prevent it from triggering it's ON *:UNLOAD: event

/unload -rsn myfile.mrc

Unload an alias file

/unload -a myalias.mrc