|
|
Joined: Jan 2009
Posts: 4
Self-satisified door
|
OP
Self-satisified door
Joined: Jan 2009
Posts: 4 |
Can you create this?)
Comipling .mrc files to .exe
|
|
|
|
Joined: Feb 2007
Posts: 234
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
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"
|
|
|
|
Joined: Feb 2007
Posts: 234
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Jan 2009
Posts: 4
Self-satisified door
|
OP
Self-satisified door
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.
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Jul 2006
Posts: 4,222
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,222 |
Some people could answer it would be useful when making a game.
Last edited by Wims; 28/01/09 11:11 AM.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Jan 2009
Posts: 4
Self-satisified door
|
OP
Self-satisified door
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.
|
|
|
|
Joined: Jan 2009
Posts: 4
Self-satisified door
|
OP
Self-satisified door
Joined: Jan 2009
Posts: 4 |
|
|
|
|
Joined: Feb 2007
Posts: 234
Fjord artisan
|
Fjord artisan
Joined: Feb 2007
Posts: 234 |
of mIRC? Khaled IS around, but rarely speaks.
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
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"
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
I can't think of one situation where you would want to be able to run a script without mIRC being open. I can  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 
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Feb 2007
Posts: 234
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
|
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334 |
just write it in a real programming language
This is not the signature you are looking for
|
|
|
|
|
|