mIRC Home    About    Download    Register    News    Help

Print Thread
#75690 18/03/04 12:37 PM
Joined: Mar 2004
Posts: 2
F
Farami2 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Mar 2004
Posts: 2
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,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
been suggested many times, most people decided against it because kiddies could easily make trojans if this happened.


New username: hixxy
#75692 18/03/04 12:40 PM
Joined: Mar 2004
Posts: 2
F
Farami2 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Mar 2004
Posts: 2
true, but would be still kinda nice...

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


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#75694 18/03/04 01:52 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
obviously it woudn't have them included.
more like /sockopen $sock $gettok dialogs $com file handling etc


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


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#75696 18/03/04 02:07 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
i know, i'm not the one who wants the feature wink


New username: hixxy
#75697 18/03/04 02:57 PM
Joined: Jan 2004
Posts: 79
C
Babel fish
Offline
Babel fish
C
Joined: Jan 2004
Posts: 79
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*


My ally is the compiler, and a powerful ally it is!
#75698 21/03/04 12:31 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
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.


--------
mIRC - fun for all the family (except grandma and grandpa)
#75699 21/03/04 03:24 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
whihc is probably a good thing, less viruses.. umm.. etc


http://MTec89Net.com
irc.freenode.net #MTec89Net
#75701 26/03/04 02:19 PM
Joined: Mar 2004
Posts: 2
C
Bowl of petunias
Offline
Bowl of petunias
C
Joined: Mar 2004
Posts: 2
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
Joined: Jan 2004
Posts: 24
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2004
Posts: 24
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.


<]dD[Makaveli> where can i get a clanboy (08:57 pm) <]dD[Makaveli> clanbot
#75704 19/05/04 06:54 PM
Joined: Mar 2004
Posts: 2
C
Bowl of petunias
Offline
Bowl of petunias
C
Joined: Mar 2004
Posts: 2
The pic from my original post doesnt work anymore. Here's one that does.



Link Copied to Clipboard