The if statement allows you to control what part of your program gets executed or ignored based on conditional statement. In many occasions, you will find the need to do a different task based on a condition. Is the %counter variable assigned or not? In many occasions, you want it to compare two things and decide what to do upon the result of that comparison. You almost never want a script to simply do the same exact thing over and over. A condition in mIRC has a false truth value if it’s $null, $false, or 0. Lexicographical String Comparison OperatorsĪ conditional statement is a control flow construct in mIRC that can execute a set of commands only after comparing or testing a condition.
0 Comments
Leave a Reply. |