# Ranking?

**URL:** <https://forum.kirupa.com/t/ranking/220273>\
**Category:** Uncategorized\
**Created:** [March 24, 2007, 2:52pm UTC](https://forum.kirupa.com/t/ranking/220273 "2007-03-24T14:52:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario\_hater](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mario\_hater](https://forum.kirupa.com/u/mario_hater)\
**Post date:** [March 24, 2007, 2:52pm UTC](https://forum.kirupa.com/t/ranking/220273/1 "2007-03-24T14:52:55Z")

</div>

i have finally finished nearly finished my shooting game but need a way to give the player a rank. The current code doesn’t work but i’m sure its something like this.

```auto
onLoad = function () {
    if (time&lt;60) {
        rank = "OMG!!";
        break;
    }
    if (time&lt;65) {
        rank = "woooo";
        break;
    }
    if (time&lt;70) {
        rank = "It's a good-a";
        break;
    }
    if (time&gt;75) {
        rank = "don't quit your day job";
        break;
    }
    if (time&lt;80) {
        rank = "practice was made for people like you";
        break;
    }
    if (time&lt;95) {
        rank = "press ALT+F4. NOW";
        break;
    }
};[as/]

It is supposed to work like if you get a time less than 60 then it says the first one.
```
