This is a very simple online/offline sensor that uses a glitch in Java to make work. Wanna see how it works? Type in 'yes' or 'no'. Credits to jeoylego!!!