Okay So I got a .js file running different macros and what not, for a game. It logs me in, trains, goes into a mission (Battle), and log outs out then repeats every 3ish hours. When you die in this game it says "Hospitalized!" on the side and stays there until you pay to get out or wait a certain amount of time. So what if i'm AFK which I will always be and I either die from doing a Mission (Highly unlikely) or getting attacked by another player? My question is how can I make it check if it says "Hospitalized!" or any specific text on the page? and if its there somewhere, to run a certain macro? I remember a couple years ago there was a command like that. Like If "Hospitalized" iimPlay ("Example.iim") or something like that. I seriously cant remember. Any help will be greatly appreciated!