mIRC Home    About    Download    Register    News    Help

Print Thread
#75690 18/03/04 12:37 PM
F
Farami2
Farami2
F
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

#75691 18/03/04 12:38 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
been suggested many times, most people decided against it because kiddies could easily make trojans if this happened.

#75692 18/03/04 12:40 PM
F
Farami2
Farami2
F
true, but would be still kinda nice...

#75693 18/03/04 01:41 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
But what relevance would something like on *:TEXT:*:#:echo -a $nick said $1- have outside of mIRC?

#75694 18/03/04 01:52 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
obviously it woudn't have them included.
more like /sockopen $sock $gettok dialogs $com file handling etc

#75695 18/03/04 01:59 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
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.

#75696 18/03/04 02:07 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
i know, i'm not the one who wants the feature wink

#75697 18/03/04 02:57 PM
C
cmad
cmad
C
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*

#75698 21/03/04 12:31 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
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.

#75699 21/03/04 03:24 AM
Joined: Feb 2003
Posts: 2,737
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,737
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:


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#75700 22/03/04 09:02 PM
Joined: Jul 2003
Posts: 733
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jul 2003
Posts: 733
whihc is probably a good thing, less viruses.. umm.. etc

#75701 26/03/04 02:19 PM
C
cyberdems
cyberdems
C
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.

Last edited by cyberdems; 26/03/04 02:22 PM.
#75702 23/04/04 07:00 PM
Joined: Dec 2002
Posts: 39
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Dec 2002
Posts: 39
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.

#75703 30/04/04 07:59 PM
C
couresel
couresel
C
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.

#75704 19/05/04 06:54 PM
C
cyberdems
cyberdems
C
The pic from my original post doesnt work anymore. Here's one that does.



Link Copied to Clipboard