mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 33
M
mruno Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 33
I know this probably would take some work, but it would be very beneficial if the script editor was collapsible for different code sections.
Example: If you paste some json code at https://jsonformatter.curiousconcept.com/ you can collapse it by section. See this imgur post to visualize what I am talking about.

Sections such as alias, raw, ON EVENTS could be set as collapsible and would help the readability for those of us with large scripts.
Thank you

Joined: Feb 2009
Posts: 25
W
WKN Offline
Ameglian cow
Offline
Ameglian cow
W
Joined: Feb 2009
Posts: 25
I think mIRC is "mainly" an IRC client, not a code editor.

So in my opinion, it is most worthy Khaled is concentrated on that functionality than "wasting" time in functions for the buildin script tool.

If you want more, use an external editor to script.

Joined: Feb 2011
Posts: 448
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
Have you tried mSLDev?

https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/241147/

It can only collapse the entire alias/OnEvent/whatever, not sections inside of them.

Development has stalled so anything added after December 2014 (like "on *:PARSELINE:{}") will give errors.

The download link on the front page has a version from March 2013.

If you want to try the latest version from December 2014: http://msldev.com/download/win/latest_build.zip

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
The VS Code mIRC extension supports collapsing and has been updated to all keywords as of 2017, it's on github so you can fork as needed.

https://marketplace.visualstudio.com/items?itemName=lol2k.mirc
https://github.com/lol2k/vscode-mirc

Joined: Feb 2015
Posts: 138
kap Offline
Vogon poet
Offline
Vogon poet
Joined: Feb 2015
Posts: 138
I agree with mruno. When you code blocks are larger than your screen can display, it would be very beneficial. Presently I find myself porting code to and fro another editor that does support this. This is not ideal.


GNU Terry Pratchett - Looking for a mIRC help channel -> Check #mircscripting @ irc.swiftirc.net
Joined: Aug 2019
Posts: 3
C
Self-satisified door
Offline
Self-satisified door
C
Joined: Aug 2019
Posts: 3
I agree as well, I have very much noticed difficulty tracking end braces when coding with nested if statements.
I would very much love a collapsible editor.


Link Copied to Clipboard