How can I redirect the browser based on commands?

I’m creating a game based only in Quixie and trying to have the page redirected based on various user commands. For example, inputting ‘enter Google’ would redirect the page to I can’t find a way to do this with plugins and my Javascript is shaky. I’m assuming I’d have to adapt something like this, but I’m unable to get working (if that’s possible).

Quick and dirty:

$(document).on('keydown', '.LineInput', function(e) { 
    if( e.which === 13 && this.value.toLowerCase() === 'open google' ) { 
        window.location.href = ""; 

This worked! Thank you very much. :slight_smile: