What I'm trying to accomplish is if it finds the word "In Battle!" anywhere on the page to run a certain macro.
This is what I have now,
Code: Select all
iimPlay("CODE:TAB T=1\nURL GOTO=www.InsertLinkhere.com\nTAG POS=1 TYPE=A ATTR=TXT:In<SP>battle!* EXTRACT=TXT");
var G_Extract=iimGetLastExtract(1);
if (G_Extract=="In<SP>Battle!*")
{
iimPlay ("Battle.iim")
}
else
{
iimPlay ("Fail.iim")
}
If you got questions or need me to further explain, Let me know!