From WikiChip
Editing mirc/commands/elseif

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|/elseif Command}}
+
The '''/elseif command''' is a [[Conditional statements - mIRC|construct in the mIRC scripting language]] that performs commands if all the previous [[/if command - mIRC|/if]] or [[/elseif command - mIRC|/elseif]] failed and if the condition is true, must be used after an if/elseif statement.
The '''/elseif command''' is a [[Conditional statements - mIRC|construct in the mIRC scripting language]] that performs commands if all the previous {{mIRC|/if}} or {{mIRC|/elseif}} failed and if the condition is true, must be used after an if/elseif statement.
 
  
The elseif statement is used in conjunction with the {{mIRC|/if}} statement and the {{mIRC|/else}} statement to jump to certain blocks of code depending on the result of the conditional statement that was executed.
+
The elseif statement is used in conjunction with the [[/if command - mIRC|/if]] statement and the [[/else command - mIRC|/else]] statement to jump to certain blocks of code depending on the result of the conditional statement that was executed.
  
 
== Synopsis ==
 
== Synopsis ==
Line 22: Line 21:
 
== Compatibility ==
 
== Compatibility ==
 
Added: 4.5
 
Added: 4.5
 +
 +
Added On: 30/06/96
 +
 +
 +
<small>Note: Individual switches were not taken into consideration.</small>
  
 
== See also ==
 
== See also ==
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
* {{mIRC|$halted}}
+
* [[$halted identifier - mIRC|$halted]]
* {{mIRC|$result}}
+
* [[$result identifier - mIRC|$result]]
* {{mIRC|$alias}}
+
* [[$alias identifier - mIRC|$alias]]
* {{mIRC|$isalias}}
+
* [[$isalias identifier - mIRC|$isalias]]
* {{mIRC|$iif}}
+
* [[$iif identifier - mIRC|$iif]]
* {{mIRC|/alias}}
+
* [[/alias command - mIRC|/alias]]
* {{mIRC|/goto}}
+
* [[/goto command - mIRC|/goto]]
* {{mIRC|/halt}}
+
* [[/halt command - mIRC|/halt]]
* {{mIRC|/return}}
+
* [[/return command - mIRC|/return]]
* {{mIRC|/while}}
+
* [[/while command - mIRC|/while]]
* {{mIRC|/returnex}}
+
* [[/returnex command - mIRC|/returnex]]
* {{mIRC|/elseif}}
+
* [[/elseif command - mIRC|/elseif]]
* {{mIRC|/else}}
+
* [[/else command - mIRC|/else]]
{{mIRC command list}}
 
  
[[Category:mIRC commands|elseif command - mIRC]]
+
[[Category:mIRC commands]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)