mIRC Home    About    Download    Register    News    Help

Print Thread
#155897 10/08/06 06:05 AM
Joined: Dec 2003
Posts: 48
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Dec 2003
Posts: 48
Small feature request, but a desirable one.

Appearing at the top, next to the fixed script filename
we are operating in, where it says "Editing <filename>".

When you move the selector through an alias function of
code, have it write the name to match the area you're in, e.g
alias function, event type, etc.

Example:

alias -l identify { anything_selected_here }
on *:notice:*:*: { anything_selected_here }

Editing: mIRC.mrc - Alias: (local) identify
Editing: mIRC.mrc - Event: Notice

Reasoning: For long and tedious scripts that wont fit onto one
script page, sometimes you have to scroll back and forth to
see what alias/event you're occupying.

Also, an editbar that you can TAB [evaluate] within the script
window.

#155898 16/08/06 04:09 AM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Also, Combine it with a combobox for selecting (going to) other aliaes, events, and menus. smile


NaquadaBomb
www.mirc-dll.com
#155899 16/08/06 04:51 PM
Joined: Dec 2002
Posts: 1,534
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,534
Im actually surprised that the popups and alias editor is still around. Both can be done in the Remotes editor. With my other suggestion to make the Remotes editor Treeview, maybe down the road it would all be in one window and mirc will be intelligent enough to figure out that you're on an alias, remote, popup, etc. I'm not saying the above SHOULD be done, Im simply saying Im surprised the current method is still around.

Back to the original suggestion, sure, sounds good to me smile


Those who fail history are doomed to repeat it
#155900 20/08/06 10:06 AM
Joined: Nov 2003
Posts: 50
X
x64 Offline
Babel fish
Offline
Babel fish
X
Joined: Nov 2003
Posts: 50
I have a feeling khaled is wanting to redo the entire script editor. It's just one huge multiline editbox. Pull down color menus in the options dialog box are probably 10 times more complex than the script editor.

With this incarnation of script editor, you wont get color hilighting, parsing on the fly, or any of that good stuff, because it's a pain in the ass. The entire contents is one huge string and all the textbox reports is the position of the cursor. This would require khaled to backtrace from that position in the script to the closest declaration, which is parsing in reverse.. which i doubt will happen.


Link Copied to Clipboard