mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Just a small thing.

In the Script Editor when you click VIEW and then MORE... (assuming you have MORE...) the list of files is alphabetic, which doesnt help you that much, it would be better to have that list also in the order they are run in, ie: the same as the Scripts Editor/view. I found no easy way to see the order or even what they were (several of mine are named close to the same) with out going //RUN MIRC.INI and looking down it for the list of remotes.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Agreed! This has always been a problem for me since I have a lot of scripts I write and run.


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
NAG: The mircscripts editor needs a complete renovation imo.


$maybe
Joined: Sep 2005
Posts: 116
I
Vogon poet
Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
it would also be nice if i had a reaload.. option laugh

Joined: Jul 2003
Posts: 655
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
You mean this.. taken from the help file under /load
Quote:
You can also use the /reload command with the same parameters to reload a file without triggering the on start/load events in the script being loaded.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
I think he means having the reload option
in the File menu in the script editor.

Joined: Sep 2005
Posts: 116
I
Vogon poet
Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
Quote:
I think he means having the reload option
in the File menu in the script editor.
yeh i mean that but i was more thingking of do triggering the start + load laugh

Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
on START/LOAD/UNLOAD already are all triggered
when you use LOAD/UNLOAD in the file menu of the
script editor.

Joined: Sep 2005
Posts: 116
I
Vogon poet
Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
yeh but it kinda sux to have to click unload thne click load nad look in the folder for the right file laugh

yes i can bind it in a command but im to lazy laugh

Joined: Jul 2003
Posts: 655
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
Quote:
Quote:
I think he means having the reload option
in the File menu in the script editor.
yeh i mean that but i was more thingking of do triggering the start + load laugh

Ah i see, yeah i agree that could be useful, also a switch for the /reload command to force the triggerings of the load/unload events would be handy.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Code:
;Added -t switch to trigger load/unload events
;/reload -rst scriptfile
;/reload -trs scriptfile
;
alias reload {
  if ((-rst == $1) || (-trs == $1)) {
    $iif(!$show,.,$null) $+ unload -rs $2-
    $iif(!$show,.,$null) $+ load -rs $2-
  }
  else {
    $iif(!$show,.,$null) $+ reload $1-
  }
}


Link Copied to Clipboard