agar.io-clone icon indicating copy to clipboard operation
agar.io-clone copied to clipboard

Writing my own commands

Open yasharels opened this issue 9 years ago • 5 comments

I know there was a previous issue that had to do with writing your own commands, but I want to know if there's a guide on the abstractions. For example what's the user object's name value - could be user.name

yasharels avatar Dec 17 '15 02:12 yasharels

I suggest you take a look at the rest of the code and/or use console.log to determine where properties are and how they should be accessed.

(FYI user.name seems to be correct)

abalabahaha avatar Dec 17 '15 06:12 abalabahaha

Okay, I was going to do this if there was no guide like a commands.md. Maybe if you're bored or feel like it can do this? :D Thanks for responding.

yasharels avatar Dec 17 '15 12:12 yasharels

I mean not a file in the repo obviously, but just some guide somewhere.

yasharels avatar Dec 17 '15 12:12 yasharels

^ Is where I wanted to find the original guide... I have to be more specific with my comments lol.

yasharels avatar Dec 17 '15 12:12 yasharels

Yeah there's no guide at the moment, so you have to rely on existing code...

abalabahaha avatar Dec 17 '15 15:12 abalabahaha