![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME if0 - check if one value is equal to zero SYNTAX if0 -value [VALUE 1] -then [RESULT IF TRUE] -else [RESULT IF FALSE] -redirect [REDIRECT] EXAMPLES if0 -value 1 -then yay -else nay (returns 'nay' because the value is not zero) if0 -value 0 -then http://www.yubnub.org/ -redirect true (redirects to www.yubnub.org because the value is zero) NOTES I really just made this command so ti was easier to work with commands like "strfind" and "filterstring," etc. so that if a certain parameter cannot be found, it is easier than having to use ifEqual so much. Sorry if there's already a command like this, I haven't seen it. Feel free to email me if there's a problem with the command CREDITS Idea and (barely) Code - Klink C. <mrthr33 _at_ gmail _dot_ com> ifEqual and other amazing commands - Allen Ormond - aormond (at) gmail (dot) com