F0x's Game Launcher v1.0
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Sep 29, 2007 |
| Last Updated | Sep 29, 2007 |
| Tags | 2 2142 battlefield chaos f0x game jedi last launcher menu poker runescape star teamspeak ventrilo wars xfire |
Introduction
www.f0xb0t.net.tc
Created By F0x Of The SwiftIRC Network
The Menu Below Contains All The Games I Currently Have, They Are In Default Install Locations. If You Have Them In Different Locations You Will Need To Change The Locations Yourself.
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 29, 2007 10:16 pm
Posted on Sep 29, 2007 10:16 pm
One problem I do see with this script is that (as you stated in the Introduction), what if the person did not save the game to that directory? You should allow them to locate the .exe file manually using $sfile and setting a variable. This would make it a lot easier then having to type it all out.
Here's an example using $sfile:
Here's an example using $sfile:
| Code: |
dialog example { title "Example" size -1 -1 144 58 option pixels button "Find...", 1, 8 34 46 19 button "Run", 2, 85 33 46 19 edit "", 3, 8 10 127 20, autohs } on *:dialog:example:sclick:1:{ set %Exam $sfile($mircdir*.exe,Locate Game .exe...,Open) did -ar example 3 %Exam } on *:dialog:example:sclick:2:{ .run $did(example,3).text } |
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 29, 2007 10:21 pm
Posted on Sep 29, 2007 10:21 pm
Oops. That was using a dialog. Here's using menu's...:
| Code: |
menu menubar { Example .GameName ..Find Location:set %Exam $sfile($mircdir*.exe,Locate Game .exe...,Open) ..Run:.run %Exam } |
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 30, 2007 1:01 pm
Posted on Sep 30, 2007 1:01 pm
Hmm, yeah, something must be wrong with it :|
* /run: unable to open 'C:WINDOWSsystem32spider.exe'
* /run: unable to open 'C:Program FilesElectronic ArtsBattlefield 2142 DemoBF2142.exe'
* /run: unable to open 'C:Program FilesMicrosoft GamesMidtown Madness 2Midtown2.exe'
* /run: unable to open 'C:WINDOWSsystem32spider.exe'
* /run: unable to open 'C:Program FilesElectronic ArtsBattlefield 2142 DemoBF2142.exe'
* /run: unable to open 'C:Program FilesMicrosoft GamesMidtown Madness 2Midtown2.exe'
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 30, 2007 1:31 pm
Posted on Sep 30, 2007 1:31 pm
Or you could just make it:
That simple.
| Code: |
alias game.run { var %sfile $$sfile(C:,Choose game/file you wish to run) run %sfile } |
That simple.
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 30, 2007 7:05 pm
Posted on Sep 30, 2007 7:05 pm
| Quote: |
..MineSweeper:/run C:WINDOWSsystem32winmine.exe |
does anyone else play minesweeper? my scores are 1-34-115
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Sep 30, 2007 8:51 pm
Posted on Sep 30, 2007 8:51 pm
This snippet isn't too great, I'm sorry. You seem to assume other users have these demos/games installed (some are) to the snippet user's computer, or you just got this code from your personal remotes. As the others have already said, it would be much more compatible to use a code as this:
| Code: |
menu channel { Run application:{ var %t $$sfile(C:,Choose an file/application to run:) run %t } } |
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Oct 1, 2007 5:26 am
Posted on Oct 1, 2007 5:26 am
If you read, it says these are the ones on my computer, i do not asume they have them, as for it being so simple, yes I know it is, I am only a new scripter.
mIRC Snippet:
F0x's Game Launcher v1.0
Posted on Oct 1, 2007 5:34 am
Posted on Oct 1, 2007 5:34 am
Ah, I am sorry for my mistake. I didn't see that. It would still require a lot of work beforehand to use this snippet. As I said, it would be easier to have a user just run a selected program.
- RubixCube
- RubixCube





