Kongregate One

Kongregate One - One script to rule them all. Everything here.

Daily installs
Total installs
6 0 0
Applies to


Version 3.0.1

A major rework of the original KongOne. Documentation might be out of date. Please let us know if there is missing documentation or new bugs since this release.

This userscript is an edit of UnknownGuardian's script called Kongregate One.

First, to turn off and on certain aspects of the script, find the KongOne link in the settings cog:

Once selected, it should bring up a dialog with all the different options.

Then choose what functions you want.

Here are its basic functions:

Chat Timestamp

/timeformat sets timestamp format to 12 or 24 hour

/tscolor sets the color of timestamps. Format is /tscolor ###### (# = hex character)

/toggleseconds shows or hids seconds in timestamps

Chat PM Notifier

/pmchime turns Private Message chime on and off

Chat Line Highlighting

/hl (or /highlight) followed by a list of words (separated by spaces) makes the script highlight every message that contains one of those words. Note that you don’t have to retype the list after refreshing – it gets saved!

/hluser followed by a list of usernames highlights all messages by those users – including whispers.

/hlcolor followed by a valid hex-color (without the leading #, so an example would be /hlcolor 00FF00) changes the color which the script uses to highlight messages to that color (Gets saved, too)

/hlfriends toggles highlighting messages sent by your friends. If activated, your friend’s names will show up highlighted (by default green) in chat messages.

/hlmods toggles highlighting the names of mods in chat. When activated, mods names appear orange by default, the color can be changed with /modcolor.

/hlpriority toggles the priority of /hlmods and /hlfriends. By default, users who are both mods and your friends will be highlighted in the friend-color when activating /hlmods and /hlfriends. Use /hlpriority to make them appear in the mod-color instead.

/hlchime toggles the chime on/off.

/whispercolor works similar to /hlcolor, but changes the color of whispers you send/receive.

/friendcolor changes the color of friends’ names in chat.

/modcolor changes the color of mod-names in chat.

/hllist lists the current settings.

/hlreset resets all preferences to their default values.

Chat Reply-Command

/r – Chat Reply-command – After receiving a whisper, you can type /r and it replaces it with /w {user who last whispered you}

Chat Mouseover Timestamp

Note: When this option is checked, the other timestamp doesn't work.

/timeformat sets timestamp format to 12 or 24 hour

Chat Afk Commands

/autoafk sets auto away status for 15 minutes. Followed by a number, it sets autoafk for that amount of minutes

/afktoggle toggles whether to send an automatic message to whispers when your status is away

/afkmessage displays the saved AFK-message

/afkmessage message sets message to show to users when afktoggle is on

Chat Resizer

/size x y sets chat size, for instance /size 500 500 sets chat to 500 by 500 px.

/defaultsize - This didn't work well for me in Chrome. I'll look at it later.

/centergame either centers the game or aligns the game to chat bottom

Every now and then, script doesn't load for some reason...

/test makes sure the script is active and if it's not it doesn't make you look as stupid as it might... (Talking from experience)

From Kongregate Get

/avglvl gets the average level of all users in chat (also /avg, /alvl)

/mp gets the most played games in the chat room. If followed by a number, shows that many games (e.g. /mp 5; also /mostplayed, /getmp)


/hlvl gets the highest user level in chat (also /highlevel, /highlvl, /hlevel)

/llvl gets the lowest user level in chat (also /lowlevel, /lowlvl, /llevel)

/levels # gets all users of specified level, or if no level is specified, all levels in the room (also /levels # # #)

/levels #-# gets all Users levels including end points between two specified numbers.

/devs gets a list of all developers in chat (also /dev, /developer, /developers)

/admins gets a list of all admins in chat (also /admin, /administrator, /administrators)

/mods gets a list of all mods in chat (also /mod, /moderator, /moderators)

/username gets... your username! Really useful one.

/id gets your Kongregate Id

/kreds gets your current Kreds balance

/level gets your Kongregate level (also /lvl)

/age gets your age

/email gets your email address associated with your Kongregate account

/user username gets info about username. If left blank, gets info about yourself, including the bunch of previous commands(also /u, /me)

/info gets information about current chat (also /roominfo)

/botd gets the current Badge of the Day

/friends gets a list of all your friends

/online shows friends online

/signout signs you out of your account

/signup open the Register lightbox

/login opens the Login lightbox allowing you to switch accounts easily (without signing out).

/close closes window (also /exit)

/reload reloads the current page

/reloadgame reloads the game without reloading the whole page.

/removegame removes the game on the current page. Useful if you only want to chat. (Might be buggy with resizing, please share any issues)

/open opens specified.

e.g. /open accounts AlphaOverall opens account of user AlphaOverall

/open games JavelinOU tdp4-team-battle opens game TDP4

/open asdf opens a Kongregate search of asdf

/open opens your account page

/khelp opens Kongregate help page (also /konghelp, /kongregatehelp)

/help will open a help page...

/kong opens Kongregate home (also /kongregate)

/available username checks if a username is already registered in the Kongregate database (Kind of ugly output as of now, trying to fix it)

/google words to search opens a google search of words. If no specified search terms, opens google homepage.

/bing words to search opens a bing search of words. If no specified search terms, opens bing homepage.

/yahoo words to search opens a yahoo search of words. If no specified search terms, opens yahoo homepage.

/wiki words to seach opens a wikipedia search or article of words. (also /wikipedia)

/youtube words to search opens a YouTube search of words. If no specified search terms, opens YouTube homepage.

/youtube embed youtube.com/watch?v=RaNd_omStrInG embeds specified video url into the Kongregate chat (default 16:9 aspect ratio)

/url http://www.somesite.com opens specified site. (also /goto, /http, /www)

/mp3 http://www.somesite.com/linkedrandomaudio.mp3 embeds specified mp3 in Kongregate chat.

/img http://www.somesite.com/randomimage.png embeds specified image in Kongregate chat.

/calc 4+3*8/9-2*Math.sqrt(7) calculates the given expression. For a list of Math commands, type /calc help (also /math, /calculator)

/time gets the current day and time (also /now, /date, /datetime)

/clear clears the chat

/list keyword shows a list of users with keyword in their name (case insensitive, also /userlist, /username)

Note that this is my (AlphaOverall's) edited version of this script and I hope to be adding more features in the future. For now, enjoy!

This script can be downloaded on Greasy Fork or GitHub.

More Info

This extra description is taken from Nomuit's masterthread.

All About KongOneβ

So, you just downloaded that beautiful KongOneβ, hmm? But now, you’re asking me “but Nomuit, what do I do in it?”; I perfectly understand where you’re coming from. While a lot of this is already on the script page, I’m going to give you a breakdown of the features in this post anyway: let’s get to it!

Main Features

So, KongOneβ is a chat-based script, and has quite a few features in it – due to being a masterscript of previous chat scripts, but some are far more useful than others. It can:

  • highlight words (nicknames, for instance)
  • highlight whispers (in a different colour)
  • make links clickable
  • give a chime when whispered/highlighted and you’re out of tab
  • show good timestamps
  • give a larger chat window
  • auto-fill in names when replying to whispers

And most everything in the script is easily customisable!

Wanna see? Here:

So, where to start? Hmm…Well, first, how about how to do the things I said above?

Setting Highlighted Words

So, most people use this as a way to set nicknames. That way, if someone says your name, it highlights and you can easily see messages meant for you!

In order to set these, type (without the quotes):

/hl [nickname] [nickname]” – meaning “highlight [nickname] [nickname]”.

To see it in action, imagine I was wanting to set multiple nicknames, yeah? I would type this into chat:

/hl Nomuit Nom Noms Nommy Jargon Jar JarJar Jargonaut” – again, with no quotes.

Now, every time the words “Nomuit”, “Nom”, “Noms”, “Nommy”, ect. are said in chat, they’ll be highlighted for me, so I know someone was talking to me! To know how to change the colour of timestamps, scroll down to the Customising Colour section.

Of course, be careful what you set; every time someone “noms” food in chat I get highlighted :P

Customise Timestamps

So, a lot of people ended up switching over to KongOne because they hated the default, always-on timestamps that Kong has nowadays. Well, guess what? Ours are better, with plenty of options! (still, I’m happy the programmers are trying <3)

By default, timestamps have a format of:


with “12” being the hour and “00” being the minute. C’mon, you guys know this stuff. :P Well, you can change that format, if you like. Here are the options with timestamps:

World Format/24-hour Format —> [23:00]

Add Seconds —> [12:00:00]

Change The Timestamp Colour [note: this appears to be broken as of the moment, but I’ll see about getting it fixed; more on this in the Customising Colour part of this post anyway]

Mouseover Or In-Chat Timestamps —> [12:00] OR hover timestamps, as in this picture: Mouseover timestamps come with the added bonus of having a “Private message” link added to them, making it quicker to whisper people!

So, now you’re wondering how to do all these amazing temporal features, yeah? Well, here are the commands:

To set World Format/24-hour timestamps:

/timeformat” <- just like that, no quotes. Simple, right? To switch back, simply type it out again.

To set seconds:

/toggleseconds” <- again, just like that without quotes. Switching back is the same.

To set mouseover timestamps

This is a bit more unpleasant to change. In order to do this, go to your profile, and scroll down, until you see a box on the right that looks like this:

Now, see that unchecked box for “Chat Mouseover Timestamp”? Check it, and uncheck the “Chat Timestamp” at the top. Then, refresh your game page, and you’ll have the mouseover timestamps!

Note: you can’t have both timestamp options active at the same time. It’s a shame, but ah well.

3. Customising Colours!

So, want everything to look fabulous like how it does in my example way up above? No worries, I’ve got you covered. First, you need the hex codes of the colours you want. I recommend either Colour-Hex or W3’s Colour Picker.

Once you have the colours you want, for highlighted words type:

/hlcolor ######” → so, if we wanted all highlighted nicknames to show up in blue – with blue’s hex code being “0000ff” – for instance, we’d type:

/hlcolor 0000ff” – no quotes, remember!

For whisper colours type:

/whispercolor ######” → so, if we wanted all whispers to show up in red – with red’s hex code being “ff0000” – for instance, we’d type:

/whispercolor ff0000” → golden rule: no quotes

For changing Moderator and Friend colours, type:

/modcolor ######” and
/friendcolor ######

Now, I’ve been going easy on you with colours, but let’s try different hexes. How about, for mods, I choose “ff1ac6” – I don’t know what it’s called, but it’s a pretty pink! And for friends, how about…this hideous, burnt-orange colour, with “ff8c1a”? So, I’d type:

/modcolor ff1ac6”, and
/friendcolor ff8c1a” → boom, my mod buddies look fab and my friends are hideous, as always.

Finally, timestamp colour. Now, it seems to be broken, but if you wanna try anyway, type:

/tscolor ######

so if I wanted them a bit darker to contract better with the brighter colours I’ve chosen we could choose…hmm, how about black? That seems good, yeah? Black is easy – it’s “000000”, so I’d type:

/tscolor 000000” – > and boom, my timestamps are as dark as Batman and soon Aquaman.

Important note on colour selection: Any colour under the sun flies, provided you enter it correctly. Hex codes for colours start with a pound sign (#), and then have six characters after them – a mix of letters and numbers. Make sure to only enter the six characters and not the pound sign when typing them out.


Fairly simple, Auto-reply allows you to type

/r”, instead of
/w [username]

in order to whisper someone. Once you type “/r”, it’ll automatically change it to “/w” and the name of the user to last message you, not the last person you messaged.

New Chat Size

So, chat’s MASSIVE now, isn’t it? Got plenty of room for normal messages. But, what if you don’t like the new length, and want it smaller? Or, perhaps you want it larger? Well, aside from chat being a larger size by default, you can also customise it yourself!

But…it’s not a pretty thing to do, I’ll be honest. If you want it back to how it was, type:

/defaultsize” → (this may not work, I haven’t confirmed),

OR check the next section on how to turn off scripts. Otherwise, it’s probably best to leave it as-is. :P

However, if you insist on changing the size of chat, here’s the laydown: you need to change the length, height, and the chat member’s list (up at the top, if you really want; at least I think this is an option) – in pixels. Yeah, that’s right, I said it. Pixels: I hope you’re good with counting.

Here’s the command:

/size X Y”,

where X and Y are the length and height respectively. So, if you wanted to make chat 300 pixels by 600 pixels (please don’t, I’m just throwing numbers out there and have no idea what that comes out as), you’d type:

/size 300 600

And boom, it’s changed to…whatever that is.

Now, one last section to go!

I Want To Turn Off A Script!

Mm, fair request, some aren’t used by everyone. You can always leave them on, but if you want to turn one off, here’s how.

You remember that image I linked earlier? Here it is again:

So, just uncheck any you’re not interested in, and refresh!

Taken from Nomuit's masterthread.

Do you want to help?

Do you want to add another script? Tell the devs that mantain this repo so they can include it.

If you know how to issue a pull request, go ahead! We will check that everything works when your script is integrated with KongOne and fix it if necessary!

If you want to mantain KongOne, there are some things you need to do before. Don't worry! It's super easy!

  1. Install Node.JS and npm:
  1. Install Gulp globally using npm. Open the console and run: npm install -g gulp

And that's it! If you want to build the script, run gulp and the KongOne userscript will be automatically generated inside bin/ with your scripts.