Board Thread:General Coding Help/@comment-27820485-20170310041158

Okay, I've been wanting to make a script to quickly warn a user on their wall in a click of a button. I have this code. document.createElement('Warn this user ').prependTo('.tabs'); function WarnUser{ var reason = prompt("What are you warning for?").log('#WallMessageTitle'); 'Warning: ' + reason + ' is against the rules. Don\'t do it again or you may get banned'.log('iframe'); } But I don't see the button on the tabs. So this is what I need help with doing. 