[06:08:11] Nope.... :P [06:09:14] !key is /me Slaps $1 with a wet Trout [06:09:14] Key was added [06:09:17] !key [06:09:17] /me Slaps with a wet Trout [06:09:21] Darn.. [06:09:34] First thing everybody does with Helpme bot though... [06:09:41] !key del [06:09:41] Successfully removed key [06:11:53] Yeah, guess I never added actions... [06:11:56] !github is https://github.com/$1 [06:11:57] Key was added [06:12:03] !github Lorwp [06:12:03] https://github.com/Lorwp [06:12:28] Good..if i ever end up Submitting anything to github that will save me hours.. [06:12:34] !github technical 13 [06:12:34] https://github.com/technical [06:12:38] no good... [06:12:44] !github del [06:12:44] Successfully removed github [06:12:54] !githu-..Gah..was about to fix that :P [06:13:00] !github is https://github.com/$url_encoded_* [06:13:00] Key was added [06:13:04] !github technical 13 [06:13:04] https://github.com/technical+13 [06:13:08] Better. [06:13:14] Ahh..too smart :P [06:13:18] Even though that is not my name. :0 [06:13:31] !github technical-13 [06:13:31] https://github.com/technical-13 [06:14:03] Question..why do you have two IRC nicks anyway? [06:14:27] @linkie-on [06:14:27] Links will be automatically translated in this channel now [06:14:27] @linkie-on [06:14:27] Links are already automatically translated in this channel [06:14:37] We're in sync it seems.. [06:14:37] [[Foo]] [06:14:37] http://enwp.org/Foo [06:15:28] Now, any time you type something as a link (or template) in this channel, it will create links [[Foo]] {{Bar}} [06:15:28] http://enwp.org/Template:Bar http://enwp.org/Foo [06:15:45] I am Technical_13. [06:15:47] I was about to do that funny enough..Until of course you thought of the same thing at the same time :P [06:17:34] This is my mobile.. harder to type here [06:17:50] Ahh...Then why did you switch to it right now if your near a computer? [06:18:40] <== going to bed shortly. [06:18:46] Oh..:P [06:19:08] Still..Only 5:19pm here...But..Time zones.. [06:20:01] 01:19 here [06:20:13] Ouch....You should go to bed.. [06:21:36] Yep [06:23:00] Well, i may learn some more javascript for the night..spend my last day of the year tomorrow getting drunk on Eggnog..maybe...Maybe get a Environment setup for my personal AFCH changes.. [06:23:41] Ask if you need js help. :) [06:24:18] I will indeed..And hey, your Archive thing looks like quite a good idea..May have a peek at it at some point..when..erm..I know what is in half of it :P [06:25:37] I am halfway through a major overhaul since I adopted it. [06:27:31] If you start doing templates, my admin eyes script is invaluable. ;) [06:28:07] Should be a Whole IRC chatroom for you to Advertise your Scripts :P But i'll have a look [06:28:20] Let's you see all the stuff that's hidden for only admins to see. [06:28:28] There is a channel.. [06:28:36] Oh..Yeah..##T13 :P [06:28:36] ##T13 [06:28:40] :p [06:28:56] You done much JavaScript yet? [06:29:37] i've done a bit..Mostly Mucking around with console.log() on Codecademy. Otherwise i'm still learning.. [06:30:00] Gadget-codeAnchors and Gadget-codeBacklinks [06:30:46] Very useful for script pages. Lets you use /* cmnts */ like == hdrs == [06:30:57] M'kay [06:33:16] [[User:Technical 13/Scripts]] should give you a wide array of scripts to reference. [06:33:16] http://enwp.org/User:Technical_13/Scripts [06:33:37] Well..also...Know a good code editor for mac? [06:33:59] Keep getting told Atom or Brackets but..I dunno. Atom seems a bit slow and i did try Brackets.. [06:34:18] I'm an antimac [06:34:21] Sorry [06:34:32] Oh....Okay...Opinions are opinions :) [06:34:41] * Lor_ Plans to kill you one day....:P [06:35:02] Lol [06:35:12] * T13|sleeps sits and waits. [06:36:26] Well..Any suggestions that are cross-platform? [06:37:56] I love notepad++ but no idea if it's cross platform [06:38:12] i used to use it..Until well...I started using a Mac :\ [06:38:25] Guess Wine is an option.. [06:39:24] It is. [06:40:41] Well..Right now in Codecademy..It's making me make a Choose your own adventure game involving Justin Beiber..They forgot the part where he is in prison :P [06:41:27] Is he a sparkly vampire now too? [06:41:33] *sigh* [06:41:39] Who knows.... [06:42:13] * Lor_ Sighs, He is going to edit this code later making Beiber crash into a pole..Since for whatever reason it involves racing. [06:42:48] lol [06:46:08] Hmm..weird... [06:46:51] What's wrong with this code? https://gist.github.com/Lorwp/3f83ce8f894826c0c3d7 [06:47:18] Wait..don't tell me..just worked it out..gah..I'm dumb sometimes.. [06:47:57] Nope...Still getting "Unexpected EOF"..hmm [06:48:20] } [06:48:26] At end [06:48:46] Sadily..Now the course wants me to put in something more..erm...Nice..to Bieber.... [06:48:50] Also use ; at ends of definitions [06:49:58] Hmm..even then..still "Unexpected EOF" [06:50:29] if(prompt('question') === 'foo'){ alert('bar') }else{ alert('baz') } [06:50:43] if(prompt('question') === 'foo'){ alert('bar'); }else{ alert('baz'); } [06:50:52] Semi colons [06:51:15] Matching all braces [06:54:16] [[MW:help:js/cc]] iirc [06:54:16] http://enwp.org/MW:help:js/cc [06:54:46] no page there... [06:56:02] https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript [06:56:12] Had it backwards [06:56:16] Cc/js [06:57:47] Okay..Now..I'm onto Functions...oh dear. [06:58:57] Function(){ do something } [06:59:05] Easy. :p [06:59:14] So they're just ways to let people type less? [06:59:40] At their core, kind of. [06:59:45] Like templates [07:00:29] When you get into advanced stuff, they're used to "do stuff" [07:00:43] Okay..How so? [07:02:03] They're used in promises callbacks and other ajax [07:02:22] Hard to explain for me. [07:02:39] hmm..okay [07:03:20] They're used to put things in order [07:03:33] Do this then that [07:04:26] But wait..Why not use Vars? They can hold the same stuff, so why use a function for anything that would only need one line? [07:05:13] Synchronous vs asynchronous loading [07:05:35] one minute..need to check my dictionary.. [07:05:37] JavaScript tries to run all lines at once basically [07:07:09] Ahh..i..kinda ..see [07:08:09] So, if you have three variables, and you need the result of one to do three, then you need 1 - 2 - 3. JavaScript does everything at the same time, so it's possible to get 2 - 3 - 1 instead. [07:08:17] So..if i did something like..this? https://gist.github.com/Lorwp/6d67b8b05a9e6904b2ab [07:09:15] No offense. But i could not think of a food :P [07:09:21] lol [07:09:36] That will return T13 is undefined [07:09:43] Oh..so [07:09:49] You need to pass it as a string [07:09:53] How about now? [07:10:00] ('T13') [07:10:29] Yes [07:10:39] That will work [07:10:50] So i get to eat you now? :P [07:10:59] O.o [07:11:18] Just kidding!..for now. [07:11:28] lol too cute