Of course this won't work in mIRC, it's PHP. :|
Okay, i've got this connected to a server and modified it according to this snippet so I can easily make it respond to commands: http://www.hawkee.com/snippet/6223/
However, the ping does not seem to be working. Can anyone help me on this? Code: http://pastebin.com/m44c64848
For example this is google: http://z.pe/1iF
And this is hawkee: http://z.pe/Fo1
Pretty short eh?
Actually there has been a surge of PHP recently that has piqued my interest.
You're not going to simply say "get off hawkee" because "90%" (don't we all love made up statistics) of the snippets are mIRC. I really don't care. In fact, I guess "90%" of hawkee is useless then.
But if you're going to start arrogantly commenting about snippets which really doesn't help the coder at all, then don't. Do you honestly think removing two characters from a code is going to make it all that more fantastic?
You're just a 12 year old kid who thinks he is a god at coding in mIRC when it's even simpler than HTML. Go and learn a true language and then maybe i'll even considering giving you some respect after all the negative comments you give everyone, maybe by then you'll have developed the thing known as common sense to actually be polite and constructive of other people's work.
Nice little script. The display kinda reminds me of an XLST'd XML file.
Anyways, take a peek at scandir(), I think it might make the code a little simpler and faster to process: http://php.net/manual/en/function.scandir.php
Hope I helped
You used to masturbate over it until you got glined.
Go make something useful for once Ghost-writer. Stop spouting out that you're better than everywhere when to be honest your scripts are pretty mediocre.
And for your information it is good programming practice to use brackets to make code easier to read. Go and fap to your codes that you can make two characters shorter.