mIRC Homepage
Posted By: Farami2 Compiler for mirc - 18/03/04 12:37 PM
This is some freaky idea but its still wished from many people I met:
how about some compiler for mirc so that your scripts will work outside of mirc aswell? Like it'll create some .exe? Would be kinda interesting and nice. Think about it wink
Posted By: tidy_trax Re: Compiler for mirc - 18/03/04 12:38 PM
been suggested many times, most people decided against it because kiddies could easily make trojans if this happened.
Posted By: Farami2 Re: Compiler for mirc - 18/03/04 12:40 PM
true, but would be still kinda nice...
Posted By: starbucks_mafia Re: Compiler for mirc - 18/03/04 01:41 PM
But what relevance would something like on *:TEXT:*:#:echo -a $nick said $1- have outside of mIRC?
Posted By: tidy_trax Re: Compiler for mirc - 18/03/04 01:52 PM
obviously it woudn't have them included.
more like /sockopen $sock $gettok dialogs $com file handling etc
Posted By: starbucks_mafia Re: Compiler for mirc - 18/03/04 01:59 PM
Well if a language simply shares some of mIRC's syntax but has nothing actually do with mIRC then it really doesn't need Khaled to be the one to make the compiler.
Posted By: tidy_trax Re: Compiler for mirc - 18/03/04 02:07 PM
i know, i'm not the one who wants the feature wink
Posted By: cmad Re: Compiler for mirc - 18/03/04 02:57 PM
that's just being lazy to write down a program :P

i prefer writing:
---

int sockfd;
if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
perror("socket");
return 1;
}

sockaddr_in server_addr;
server_addr.sin_port = htons(PORT);
server_addr.sin_addr.s_addr = inet_aton(SERVERADDRESS);
server_addr.sin_family = AF_INET;
memset(&(server_addr.sin_zero), '\0', 8);

if (connect(sockfd, (sockaddr *) &server_addr, sizeof (sockaddr)) == -1) {
perror("connect");
return 1;
}

//and other code here
//etc.
//etc.
//etc.

close(sockfd);
-------------


who am i kidding!?!?! :P laugh

no seriously, i like writing down the program... ahem, i got it all automated laugh

*looks at his libs*
Posted By: neophyte Re: Compiler for mirc - 21/03/04 12:31 AM
Oh too bad so sad. They're already doing it now. You just need mIRC for it to be run.

If this was the sort of attitude every developer took to their work, we wouldn't have half the software we have today.
Posted By: Raccoon Re: Compiler for mirc - 21/03/04 03:24 AM
If everyone depended on scripting languages and macros instead of learning real languages like C++, we wouldn't have half the software we have today. :tongue:
Posted By: MTec89 Re: Compiler for mirc - 22/03/04 09:02 PM
whihc is probably a good thing, less viruses.. umm.. etc
Posted By: cyberdems Re: Compiler for mirc - 26/03/04 02:19 PM
I was going to start a new thread requesting this when i saw yours. This would be an excellent addition to mIRC, even if available on the website seperately to normal binaries. Instead of COMPILING it or running it invisibly as a service, how about making it able to work openly like mIRC, but without all the irc server related options, including on*:scripts, etc. I've included an image on my idea of what it could look like.
Posted By: vague Re: Compiler for mirc - 23/04/04 07:00 PM
Ugh. And who are you to define what's a "real" language?

Plenty of interpreted "scripting" languages are just as real as C++, and better tools for almost every job C++ is being used for.

I don't see you writing an OS.
Posted By: couresel Re: Compiler for mirc - 30/04/04 07:59 PM
hehe

I believe I posted on one of the hundreds of threads requesting this implementation and idea supporting cyberdems previous post.

In my opinion, the mIRC scripting language would have little use outside of IRC, BUT, I'm sure many have found other unintended (if any) uses for the language, e.g. mhtml which utilizes a makeshift httd to parse mIRC script and output the resulting information to the requesting client.

I for one would use opt for an executable much to the resemblence of cyberdems or one which simply ran as a hidden background process.
Posted By: cyberdems Re: Compiler for mirc - 19/05/04 06:54 PM
The pic from my original post doesnt work anymore. Here's one that does.

© mIRC Discussion Forums