User:Randomized/Botcodes.js

if(chat.attributes.name=='Klintrin'){botTarget='Lord Klintrin';}else{botTarget='$2';} if(chat.attributes.text=='!speak'){botMessage('I have spoken at command, '+botTarget+'.');} if(chat.attributes.text=='!die'){botMessage(botTarget+', we must not resort to-');if(chat.attributes.name=='Klintrin'){botMessage('*explodes*');setTimeout(function{window.open(window.location,'_self').close;},1000);}else{botMessage('EXPLOSION PREVENTED - COMMAND NOT AUTHORIZED');}} if(chat.attributes.text=='!dance'){botMessage('(dance) Look at me go, '+botTarget+'!');} if(chat.attributes.text=='!tennis'){botMessage('Really? Tennis, '+botTarget+'? lulz');} if(chat.attributes.text=='!shoot'){botMessage('*Fires lazer at '+botTarget+'*');}

///Making commands/// if(chat.attributes.text=='!CommandHere'){botMessage('Message here (botTarget is will say the user who activated the commands name) '+botTarget+'*');}