mIRC Home    About    Download    Register    News    Help

Print Thread
Order of the Script Editor/View/More... #129437 06/09/05 11:46 AM
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.

Re: Order of the Script Editor/View/More... #129438 06/09/05 12:42 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
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
Re: Order of the Script Editor/View/More... #129439 06/09/05 07:33 PM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
NAG: The mircscripts editor needs a complete renovation imo.


$maybe
Re: Order of the Script Editor/View/More... #129440 06/09/05 09:06 PM
Joined: Sep 2005
Posts: 116
I
Im2good4u Offline
Vogon poet
Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
it would also be nice if i had a reaload.. option laugh

Re: Order of the Script Editor/View/More... #129441 07/09/05 05:28 AM
Joined: Jul 2003
Posts: 655
Om3n Offline
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
Re: Order of the Script Editor/View/More... #129442 07/09/05 12:48 PM
Joined: Feb 2005
Posts: 681
M
mIRCManiac Offline
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.

Re: Order of the Script Editor/View/More... #129443 07/09/05 05:15 PM
Joined: Sep 2005
Posts: 116
I
Im2good4u Offline
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

Re: Order of the Script Editor/View/More... #129444 07/09/05 09:18 PM
Joined: Feb 2005
Posts: 681
M
mIRCManiac Offline
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.

Re: Order of the Script Editor/View/More... #129445 07/09/05 09:31 PM
Joined: Sep 2005
Posts: 116
I
Im2good4u Offline
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

Re: Order of the Script Editor/View/More... #129446 08/09/05 01:22 AM
Joined: Jul 2003
Posts: 655
Om3n Offline
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
Re: Order of the Script Editor/View/More... #129447 08/09/05 07:43 AM
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-
  }
}