mIRC Battle Script (recommended for all battlers)
Moderator: Moporators
mIRC Battle Script (recommended for all battlers)
Here is an mirc script i made for myself but decided to share with the rest of you who use mIRC to battle. i was finding it tedious to keep double clicking on any .lev/.rec link I saw and then having to click "Save" and navigate to my C:\Program Files\Elma directory.
Now all I have to do is double click the blue link labeled "[Download]" next to every link and my script will download the file in the background to the appropriate folder so I can simply maximize Elastomania to play the newly downloaded level or watch the rec.
- Simply download the script from: http://www.mxb.dk/upload2/elma.mrc
- Save it to your mIRC folder
- Load it into mIRC using the command /load -rs elma.mrc
- Choose to run the initialization commands
- Let the script guide you from there
I haven't tested it extensively so let me know of any problems or possible improvements
Now all I have to do is double click the blue link labeled "[Download]" next to every link and my script will download the file in the background to the appropriate folder so I can simply maximize Elastomania to play the newly downloaded level or watch the rec.
- Simply download the script from: http://www.mxb.dk/upload2/elma.mrc
- Save it to your mIRC folder
- Load it into mIRC using the command /load -rs elma.mrc
- Choose to run the initialization commands
- Let the script guide you from there
I haven't tested it extensively so let me know of any problems or possible improvements
- insane guy
- Kuski
- Posts: 1673
- Joined: 22 May 2002, 20:53
- Contact:
-
- Kuski
- Posts: 23
- Joined: 11 Feb 2004, 00:04
oh my god this is great!
But making litte adjustment to your script, it would become extra useful. I'm talking about using that script to download .avi .mpeg .mpg .wmv and so on movie files which tend to open in some media player. I do all the setting changes but still I can't simply donwload .avi IRC link to my harddrive....
But making litte adjustment to your script, it would become extra useful. I'm talking about using that script to download .avi .mpeg .mpg .wmv and so on movie files which tend to open in some media player. I do all the setting changes but still I can't simply donwload .avi IRC link to my harddrive....
-
- Kuski
- Posts: 23
- Joined: 11 Feb 2004, 00:04
Petsen, do one of the following:
open a dos window, find elma dir and do rename elma.txt elma.mrc
open windows explorer -> tools -> options -> view and uncheck (uncheck) 'hide file extensions for known files' , then just change the file extension from txt to mrc or whatever. after you've done it check that square you unchecked previously not to fakap by mistake :S
and ffs, if you people simply have bad program associations just do like this:
go to windows explorer -> tools -> options -> filetypes -> find (for example) .mrc and delete it. this should also work for people who can't download rec/lev files by double-clicking links, just do the same with .rec and .lev
sach noob helpdesk but should work i guess :X
open a dos window, find elma dir and do rename elma.txt elma.mrc
open windows explorer -> tools -> options -> view and uncheck (uncheck) 'hide file extensions for known files' , then just change the file extension from txt to mrc or whatever. after you've done it check that square you unchecked previously not to fakap by mistake :S
and ffs, if you people simply have bad program associations just do like this:
go to windows explorer -> tools -> options -> filetypes -> find (for example) .mrc and delete it. this should also work for people who can't download rec/lev files by double-clicking links, just do the same with .rec and .lev
sach noob helpdesk but should work i guess :X
i was considering that but decided to do the minimum first then gauge people's reaction as to whether it could be expanded. in this case it's just a matter of a small adjustment to the script. find this line:one nagual sorcerer wrote: But making litte adjustment to your script, it would become extra useful. I'm talking about using that script to download .avi .mpeg .mpg .wmv and so on movie files which tend to open in some media player. I do all the setting changes but still I can't simply donwload .avi IRC link to my harddrive....
.echo -q $regsub($1-,/(http:\/\/.+?\.(?:rec|lev))(?:\s|$)/i,\1 $+($chr(32),$chr(3),12,$chr(31),[Download],$chr(15),$chr(32)),%i)
what needs to be changed is the bit inside the non capturing assertion like so:
.echo -q $regsub($1-,/(http:\/\/.+?\.(?:rec|lev|avi|mpg|mpeg|txt))(?:\s|$)/i,\1 $+($chr(32),$chr(3),12,$chr(31),[Download],$chr(15),$chr(32)),%i)
and they can be added in that fashion. if you want it to work for any extension replace rec|lev with .+?
now these files will go to your elma lev folder by default, because of the nature of the script. you can change that through this line:
if ($2 = d) return $iif($gettok($nopath(%x),-1,46) = rec,%elma.rec,%elma.lev)
change that to:
if ($2 = d) return $iif($gettok($nopath(%x),-1,46) = rec,%elma.rec,$iif($gettok($nopath(%x),-1,46) = lev,%elma.lev,C:\FOLDER))
changing C:\FOLDER to the full path of your download folder
-
- Kuski
- Posts: 23
- Joined: 11 Feb 2004, 00:04
Thanks jaytea, I did this and it works now! I have done some small scripting with my mirc and I guess your script is not associating fully with all my scriptings... I get some little "bugs" that other people probably dont get, like this:
[14:31:06] jsim[EMA]» http://gamefiles.blueyonder.co.uk/bluey ... railer.avi
[14:31:06] <jsim[EMA]> http://gamefiles.blueyonder.co.uk/bluey ... railer.avi [Download]
or
[15:08:56] Freezah» http://irc-galleria.net/view.php?nick=S ... &navi=true
[15:08:56] <Freezah> http://irc-galleria.net/view.php?nick=S ... &navi=true
So basically every message that has "http://" comes double
other thing is that I get this all the time after adding the .avi and things:
) Unknown command
-
) Unknown command
-
That comes all the time...but it comes to status window so it doesnt matter
But after all!! Very nice script, I'm happy with it this way, no matter with the double posts...
[14:31:06] jsim[EMA]» http://gamefiles.blueyonder.co.uk/bluey ... railer.avi
[14:31:06] <jsim[EMA]> http://gamefiles.blueyonder.co.uk/bluey ... railer.avi [Download]
or
[15:08:56] Freezah» http://irc-galleria.net/view.php?nick=S ... &navi=true
[15:08:56] <Freezah> http://irc-galleria.net/view.php?nick=S ... &navi=true
So basically every message that has "http://" comes double
other thing is that I get this all the time after adding the .avi and things:
) Unknown command
-
) Unknown command
-
That comes all the time...but it comes to status window so it doesnt matter
But after all!! Very nice script, I'm happy with it this way, no matter with the double posts...
Never used them in the first place. I liked my own batel sounds betterBarTek wrote:just wondering...
anybody still uses my silly battle sounds in battles?
But now i don't use any sounds although they're useful when you don't want to miss a battle, it's just too annoying to switch sounds on/off all the time in case your watching some movie, playing something, have friends visiting etc etc... There's million and one reasons for why you don't want to hear "Battle started!" "Battle finished!" etc sounds 50 times a day.. So now i just have them switched off completely.
Btw nice work with the script jaytea.
"Fool me seven times, shame on you. Fool me eight or more times, shame on me."
youre seeing it double because you probably have another on *:text event inside another remote file which is also echoing a line to the chanel window. you should move that other on *:text event to the end of battle.mrc as both events will not execute in the same fileone nagual sorcerer wrote:Thanks jaytea, I did this and it works now! I have done some small scripting with my mirc and I guess your script is not associating fully with all my scriptings... I get some little "bugs" that other people probably dont get, like this:
seems l33t script jaytea. how about making a settings window where you enter different file types and download locations? also you might want to save one type of file in different optional folders.
-
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
i still dont know how this works.. plz help
petsen wrote:zworqy wrote:then rename it to .mrc, u noobpetsen wrote:when i save that file it gets saved as a txt file... and i cant load it... help plz ?!
btw, great script
lol :> well i tried.. didnt work... i aint no newb
any other suggestions... `?
Proud Member Of RDK
Re: mIRC Battle Script (recommended for all battlers)
Reupload plz!jaytea wrote:Here is an mirc script i made for myself but decided to share with the rest of you who use mIRC to battle. i was finding it tedious to keep double clicking on any .lev/.rec link I saw and then having to click "Save" and navigate to my C:\Program Files\Elma directory.
Now all I have to do is double click the blue link labeled "[Download]" next to every link and my script will download the file in the background to the appropriate folder so I can simply maximize Elastomania to play the newly downloaded level or watch the rec.
- Simply download the script from: http://www.mxb.dk/upload2/elma.mrc
- Save it to your mIRC folder
- Load it into mIRC using the command /load -rs elma.mrc
- Choose to run the initialization commands
- Let the script guide you from there
I haven't tested it extensively so let me know of any problems or possible improvements
- Kopaka
- 39mins club
- Posts: 6612
- Joined: 23 May 2002, 13:59
- Team: LAME
- Location: In a northern danish city beating YOUR record.
- Contact:
I found it in my mirc folder. http://zworqy.com/up/files/elma.zip
max tool for battlers that can even save a win sometimes
a must to have for all, so dmn convinient~
a must to have for all, so dmn convinient~
Download Movies: Elma - External Ways. Part 1 --- Mini-Movie LL36 --- Mini-Movie #01 --- Mini-Movie #02