mIRC Homepage
Posted By: DaveC Order of the Script Editor/View/More... - 06/09/05 11:46 AM
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.
Posted By: Riamus2 Re: Order of the Script Editor/View/More... - 06/09/05 12:42 PM
Agreed! This has always been a problem for me since I have a lot of scripts I write and run.
Posted By: Mpdreamz Re: Order of the Script Editor/View/More... - 06/09/05 07:33 PM
NAG: The mircscripts editor needs a complete renovation imo.
it would also be nice if i had a reaload.. option laugh
Posted By: Om3n Re: Order of the Script Editor/View/More... - 07/09/05 05:28 AM
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.
I think he means having the reload option
in the File menu in the script editor.
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
on START/LOAD/UNLOAD already are all triggered
when you use LOAD/UNLOAD in the file menu of the
script editor.
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
Posted By: Om3n Re: Order of the Script Editor/View/More... - 08/09/05 01:22 AM
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.
Posted By: DaveC Re: Order of the Script Editor/View/More... - 08/09/05 07:43 AM
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-
  }
}
© mIRC Discussion Forums