<< Back to General Forum   Search

Posts 1 - 8 of 8   
Fizzer streaming soon: 12/12/2017 20:26:04

Fizzer 
Level 59

Warzone Creator
Report
I'm planning to stream in a couple hours. Hope to see everyone there!

https://www.twitch.tv/FizzerWL

Edited 12/12/2017 20:29:48
Fizzer streaming soon: 12/12/2017 20:35:56


knyte 
Level 58
Report
Clearly the account above is an imposter

https://www.twitch.tv/FizzerWZ

Edited 12/12/2017 20:36:25
Fizzer streaming soon: 12/12/2017 20:48:58


Bane 
Level 60
Report
Show πŸ‘ us πŸ‘ that πŸ‘ facecam πŸ‘
Fizzer streaming soon: 12/12/2017 21:45:48


DanWL 
Level 62
Report
//@Bane
if (you.goTo("BerlinOpen")) {
    you.seePerson("Fizzer");
}


Edited 12/12/2017 21:47:01
Fizzer streaming soon: 12/12/2017 23:05:24


knyte 
Level 58
Report
Warning: SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead

Warning: SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
Fizzer streaming soon: 12/12/2017 23:11:17


Bane 
Level 60
Report
Warning!: NERDS
Fizzer streaming soon: 12/13/2017 00:08:28


DanWL 
Level 62
Report
knyte, is this better?
var person = function(name) {
    "use strict";
    this.name = name;
    this.location = 'home';
    this.money = 0;
    this.wantToGoToEvent = {
        BerlinOpen: true
    };
    this.canAffordToGoToEvent = function(event) {
        return this.money > event.cost;
    };
    this.visit = function(place) {
        this.location = place;
        return this;
    };
};

var you = new person("Bane");//Bane is broke
var fizzer = new person("Fizzer");

fizzer.money = 100000;//Fizzer has a job

var events = {
    BerlinOpen: {
        location: 'Berlin',
        cost: 200//for argument's sake
    }
};

if (you.wantToGoToEvent.BerlinOpen && you.canAffordToGoToEvent(events.BerlinOpen) && fizzer.wantToGoToEvent.BerlinOpen && fizzer.canAffordToGoToEvent(events.BerlinOpen)) {
    //if you and fizzer can go to the event, go to the event
    you.visit(events.BerlinOpen.location);
    fizzer.visit(events.BerlinOpen.location);
    //you see Fizzer
}

Edit: added BerlinOpen event cost.

Edited 12/13/2017 00:21:38
Fizzer streaming soon: 12/14/2017 02:00:34


Hot Brick
Level 17
Report
LOL, this has been downvoted. When a snake gets harmed by his own poison; such irony indeed. hahahaah (laughing in a seductive way)
Posts 1 - 8 of 8