mIRC Home    About    Download    Register    News    Help

Print Thread
mrc2exe #208734 27/01/09 07:05 PM
Joined: Jan 2009
Posts: 4
D
DerSizeS Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jan 2009
Posts: 4
Can you create this?)

Comipling .mrc files to .exe

Re: mrc2exe [Re: DerSizeS] #208749 27/01/09 10:40 PM
Joined: Feb 2007
Posts: 234
M
MTec007 Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
that simply can't/won't happen. It has ben suggested many a time in the past as well. mrc scripts depend upon mirc.exe for one, and some scripts depend upon mirc's connections as well. There is a solution however, you can use python, or sharpdevelop (free development enviroment for the .net framework) or many others that will allow you to create executable files.

Re: mrc2exe [Re: MTec007] #208762 28/01/09 02:16 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Python isn't really a good example of creating executables. There are programs that can package a python script with the interpreter into an executable, but its not nearly the same thing as a standard exe.. I mean, it would be as easy as packaging mirc.exe with a script into some single self-contained executable. If one of your goals is to discourage people from editing your scripts, such a solution wouldn't help.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: mrc2exe [Re: argv0] #208766 28/01/09 07:41 AM
Joined: Feb 2007
Posts: 234
M
MTec007 Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
yeah i agree with you there, but it would basically be like depending on the .net framework in a way. also did not think about the 'editing' factor, i was thinking more about 'standalone' scripts factor.

Re: mrc2exe [Re: MTec007] #208769 28/01/09 09:41 AM
Joined: Jan 2009
Posts: 4
D
DerSizeS Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jan 2009
Posts: 4
Well then add in mirc start parametre. For example "mirc.exe -exec script.mrc" that the file of a script without opening mirc, well or with opening dos windows was executed.

Re: mrc2exe [Re: DerSizeS] #208770 28/01/09 10:57 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
As you've already been told, mIRC scripts require mIRC to be open, therefore requesting a switch to allow a script to run without opening mIRC is a waste of time.
I've seen hundreds, and possibly thousands of scripts written for mIRC, but I can't think of one situation where you would want to be able to run a script without mIRC being open.

Re: mrc2exe [Re: RusselB] #208772 28/01/09 11:11 AM
Joined: Jul 2006
Posts: 3,702
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,702
Some people could answer it would be useful when making a game.

Last edited by Wims; 28/01/09 11:11 AM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: mrc2exe [Re: RusselB] #208776 28/01/09 05:09 PM
Joined: Jan 2009
Posts: 4
D
DerSizeS Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jan 2009
Posts: 4
For an example. It is possible make the Internet browser a mirc-scripts. By means of sockets there will be grab a page and is deduced in dialogue. Besides for mirc there is a heap dll with which help it is possible even will be connected and to use mysql.

Last edited by DerSizeS; 28/01/09 06:40 PM.
Re: mrc2exe [Re: DerSizeS] #208872 30/01/09 10:49 AM
Joined: Jan 2009
Posts: 4
D
DerSizeS Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jan 2009
Posts: 4
Where is developers?

Re: mrc2exe [Re: DerSizeS] #208882 30/01/09 05:08 PM
Joined: Feb 2007
Posts: 234
M
MTec007 Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
Originally Posted By: DerSizeS
Where is developers?


of mIRC? Khaled IS around, but rarely speaks.

Re: mrc2exe [Re: MTec007] #208914 31/01/09 05:58 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Originally Posted By: MTec007
of mIRC? Khaled IS around, but rarely speaks.


And probably has nothing to say to this suggestion-- it has been requested many times and, frankly, will likely never be implemented.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: mrc2exe [Re: RusselB] #208936 01/02/09 01:24 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Originally Posted By: RusselB
I can't think of one situation where you would want to be able to run a script without mIRC being open.


I can wink it would be nice to be able for an example run the mp3 player coded in mirc as a stand alone program. Same goes for games as people said befor smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: mrc2exe [Re: sparta] #208940 01/02/09 04:00 AM
Joined: Feb 2007
Posts: 234
M
MTec007 Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
this is where you start mirc minimized, or use the on start event to minimize mirc and launch the game/script/whatever. you dont need an exe, and honestly, i *WOULD NOT* trust these scripters nowadays with executable files. if i were hosting a mirc scripting site, no exe files would be accepted, period.

Can you honestly tell me you would use a "mp3 player" or a "game" that you found on some website made by some guy you dont know? HONESTLY? i pray you say no, but just in case, get yourself a really high tech antivirus and filesystem protector. you might need more than that though.

Re: mrc2exe [Re: MTec007] #209974 28/02/09 06:32 PM
Joined: Aug 2007
Posts: 333
foshizzle Offline
Fjord artisan
Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
just write it in a real programming language


This is not the signature you are looking for