August 17, 2022, 12:28:01 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Konami Code

Pages: [1]   Go Down
  Print  
Author Topic: Konami Code  (Read 712 times)
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« on: July 13, 2009, 11:37:59 am »

Headers or Footers:
Code:
<script type="text/javascript">
function Konami(code,callback){
//Created by Agent Moose (revolutionx.smfforfree3.com)
var The = "", konami = code;
window.document.onkeydown = function(e){
The += e ? e.keyCode : event.keyCode;
if(The == konami.split(",").join("")) window.location.href = callback;
};};
Konami("38,38,40,40,37,39,37,39,66,65","URL");
</script>

The code that some people have been waiting to have Smiley  The Konami code is here.  If press "up up down down left right left right B A" on your keyboard, you will be sent to the page you have set it to go to Smiley

URL = The URL of the page you want the users to go to when they insert the konami code.

For Advanced Users ONLY:
If you notice, in the code, you will see this;
Quote
38,38,40,40,37,39,37,39,66,65
Those are the key codes, meaning, those are what you press to get to that page.
You may change that if you want to.  Remember to make each key seperated by comma (,).

Here is a list of the keycodes:
http://www.cambiaresearch.com/c4/702b8cd1-e5b0-42e6-83ac-25f0306e3e25/Javascript-Char-Codes-Key-Codes.aspx

If you do know how to change the keycodes, you may add more of these lines:
Code:
Konami("CODE","URL");
CODE = the code to get to the URL.

Enjoy Smiley
« Last Edit: July 13, 2009, 11:39:56 am by Agent Moose » Report Spam   Logged


Share on Facebook Share on Twitter

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #1 on: July 13, 2009, 06:25:17 pm »

Thanks for the code, Moose,

But how do we get like..
You type in the notepad 2 get you're name and message.

Then you click you're name and below it has your message?
Report Spam   Logged






Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
Badges: (View All)
« Reply #2 on: July 13, 2009, 08:29:49 pm »

I'm pretty sure that's exclusive to RX.
Report Spam   Logged

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #3 on: July 13, 2009, 08:33:09 pm »

Ahh okay.
Well hopefully it gets released soon Grin
Report Spam   Logged






Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #4 on: July 13, 2009, 09:44:32 pm »

I didn't think people would want that part Tongue

More than Likely i will release it, but only to the exclusive section, I need more codes in there Wink
Report Spam   Logged


Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #5 on: July 13, 2009, 10:34:57 pm »

Ahh okay.
Thanks for this code too.
« Last Edit: July 17, 2009, 09:00:03 pm by SyntaxBlitz » Report Spam   Logged






Nick
Member
Member
Offline Offline

Gender: Male
Posts: 48


View Profile
Badges: (View All)
« Reply #6 on: July 17, 2009, 04:00:00 pm »

This is definitely one of the best SMFFF codes I've seen; thanks! Definitely using on my board
Report Spam   Logged
slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #7 on: July 21, 2009, 06:22:44 pm »

Nah this is the worst code on SMFFF. Tongue

Ha, just kiddin' obviously. Nice one Moose. Smiley
Report Spam   Logged
Lyle
MeTube
Member
Member
Offline Offline

Gender: Male
Posts: 69



View Profile
Badges: (View All)
« Reply #8 on: August 07, 2009, 06:48:21 pm »

well i have it on my board...and it doesnt work when i type in the correct ##'s on my keyboard

here is my code

Code:
<script type="text/javascript">
function Konami(code,callback){
//Created by Agent Moose (revolutionx.smfforfree3.com)
var The = "", konami = code;
window.document.onkeydown = function(e){
The += e ? e.keyCode : event.keyCode;
if(The == konami.split(",").join("")) window.location.href = callback;
};};
Konami("49,50,51","http://www.co.91.com");
</script>
Konami("49,50,51"
is 123
« Last Edit: August 10, 2009, 03:59:58 pm by Lyle » Report Spam   Logged
Santadomin
Newcomers!
Newcomers!
Offline Offline

Gender: Male
Posts: 7


View Profile
Badges: (View All)
« Reply #9 on: August 15, 2009, 11:01:58 pm »

i don't fully understand what the point of this code is ...
Report Spam   Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy