If else statement in imacros

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
new movies
Posts: 44
Joined: Thu May 26, 2011 8:14 pm

If else statement in imacros

Post by new movies » Sun Nov 10, 2013 9:56 am

I am using firefox addon and want to do this thing
example
iimPlay("facebook")
If it find the word "Welcome" then play sudeep.iim
if it find the word "banned" then play sudeep2.iim
If it did not find any word then
else if (ret != -101) {
ret = iimPlay("facebook");
Thanks
sudeep
Post Reply