mIRC Home    About    Download    Register    News    Help

Print Thread
#160561 28/09/06 03:54 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Does anyone know if it's possible to have a loaded script, run an unloaded script? I suppose it would be calling a script. Like say you have a script and you want it to run one sitting in a folder that's small but not load it. Run it get the info, that's it.

Thanks


We don't just write the scripts, we put them to the test! (ScriptBusters)
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
you can always use $read(script.mrc) even loop through it or find wordmatch if needed

pull the commands out and run them yes..


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Since scripts dont actually RUN, they have aliases or events in them that run at what ever time there set off, you cant "RUN" a script anyway.

if you want to run an alias thats in the script, why not just load the script, run the alias then unload the script.

Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Hrm. frown I thought like, there was some way of using unloaded scripts through loaded ones.


We don't just write the scripts, we put them to the test! (ScriptBusters)
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
I was thinking about that. But I figured I might as well have it loaded always. But thanks frown.


We don't just write the scripts, we put them to the test! (ScriptBusters)
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
if the script was just a set of plain independent commands (no local cars or IF/while structures) you could use the /PLAY command, but hey thats starting to be harder than its worth.


Link Copied to Clipboard