Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
If/Then question
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: If/Then question
splinny
#
253652
25/06/15
12:21 PM
Joined:
Jul 2006
Posts: 4,222
France
W
Wims
Hoopy frood
Wims
Hoopy frood
W
Joined:
Jul 2006
Posts: 4,222
France
And you get 6 when $2 is 0
Never use $iif unless speed execution doesn't matter and it really avoids repetition
I like Sakana's idea
Code:
var %2 = $2 if (%2 == $null) %2 = 6
Last edited by Wims;
25/06/15
12:23 PM
.
#mircscripting @
irc.swiftirc.net
== the best mIRC help channel
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
If/Then question
Kooky
25/06/15
06:56 AM
Re: If/Then question
Sakana
25/06/15
08:30 AM
Re: If/Then question
splinny
25/06/15
08:41 AM
Re: If/Then question
Wims
25/06/15
12:21 PM
Re: If/Then question
splinny
25/06/15
01:16 PM
Re: If/Then question
Wims
25/06/15
02:31 PM
Re: If/Then question
Kooky
06/07/15
02:07 AM
Re: If/Then question
Sakana
06/07/15
07:24 AM
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage