mIRC Homepage
Posted By: darkfire Script Editor enhancements - 31/03/04 04:39 AM
In the form of colors, such as coloring if/then/else/while statements, on * statements, etc etc. I realize addons exist that do this, but c'mon, enhance the built-in editor already!
Posted By: Mentality Re: Script Editor enhancements - 31/03/04 05:43 AM
This has been suggested a few times already, I think it's a nice idea, I think the only issue is the size it might take up. As raccoon comments in this thread it may push mIRC's size up to 5MB. (That's a huge leap compared to the usual size increase of newer versions).

You may also like to see this thread.

Those threads also include some programs that could get you by for now...

Happy scriptin'!

Regards,
Posted By: Epsilon Re: Script Editor enhancements - 31/03/04 08:37 AM
5MB ?!

mIRC's editor is already a RichEdit control, wich support text formatting.
So no change is needed in the code, only a parser to display the colored code is needed.

It doesn't take 5MB to write a code parser... lets say 50KB with an heavy one.

There is a DLL in dev by sax, wich does the job:

http://www.scriptsdb.org/sshotview.php?id=2227


Posted By: tontito Re: Script Editor enhancements - 31/03/04 09:07 AM
wwooo
Posted By: darkfire Re: Script Editor enhancements - 01/04/04 03:00 AM
thanks for the tip smile
Posted By: Soul_Eater Re: Script Editor enhancements - 04/04/04 06:54 AM
if mirc would become 5mb, why not make the editor completely separate from mirc?
Posted By: CtrlAltDel Re: Script Editor enhancements - 04/04/04 11:36 AM
Quote:
why not make the editor completely separate from mirc?


um .. /run notepad C:\mirc\scriptname.mrc ???
Posted By: sparta Re: Script Editor enhancements - 04/04/04 11:54 AM
Quote:

/run notepad C:\mirc\scriptname.mrc


If you say so, then i dont think that any feture needs to be added, everything posted here can be solved with a DLL or som type of program.. i also would like to see a script editor that wasnt built in to mirc.. people here making suggestions what they want to be added in the next version of mirc, and by answer like that u making people feel that they dont want to post anything cos they will get a "smart a$$" answer.. would be nice with a button to press "new dialog", then u got the table set with som default value.. no need to type it every time you want to make a new dialog, just press the button and..

some_name { dialog -m some_name some_name }
dialog some_name {
title "no title"
size -1 -1 60 60
option dbu
button "OK", 1, 5 47 50 10, OK
}
Posted By: CtrlAltDel Re: Script Editor enhancements - 04/04/04 10:21 PM
OK .. you're too lazy (or too forgetful) to type it every time .. in aliases, paste:

Code:
 
/f12 /run notepad C:\mirc\scriptname.mrc 

then all you have to do is press F12.
The same could be done for any of the several dialog creators available

The point is, there are several text editors and dialog creation scripts out there. Why should Khaled add anything to mIRC to make it bigger than it already is. I don't think the point is to compete with Micro$oft for sheer size.

[/rant]

If you want to start flame wars over what you perceive to be a "smart a$$" answer , please take it private and I'll be happy to ignore you like I do all others with your attitude.

[/rant2]

Posted By: Mentality Re: Script Editor enhancements - 04/04/04 10:33 PM
General note:

As this sticky says:

"That aside, please keep posting constructive criticism. Improve on suggestions or show the poster why his suggestion just wouldn't work or make sense ("you can script it" is not a valuable response)."

In other words though, offering a scripted solution is not a bad thing, but it's also not a sole answer. As nobody knows (Except Khaled) what Khaled's going to put into the next mIRC, it's unfair to tell the person their idea is great and it should be implemented, only for them to be disappointed next version when Khaled has decided not to include it. Scripted methods are useful to the person who wants a feature, just until it gets implemented (and if it never does, well they can always just use the script).

My 2 cents.

Regards,
Posted By: Soul_Eater Re: Script Editor enhancements - 06/04/04 07:42 AM
I'm just saying if the mIRC editor would get huge from syntax highlighing and such, package the editor with mIRC, or hell make the install file separate. The program could be separate, but clicking the toolbar button could run it.
Posted By: PastMaster Re: Script Editor enhancements - 06/04/04 10:50 AM
I don't think that the editor should ever be removed from the main mIRC executable/package.

Imagine: Someone (and I bet it would be MOST new users) downloads mIRC and either does not download or does not install the editor. If they then install a script which is buggy or which contains errors, they can't check it or correct it. "Bugs" will be reported which are actually just programming errors but which can't be checked. Scripts can't have backdoors removed... etc. etc. etc. All in all, far too much confusion and uncertainty to make it worthwhile, IMO.

PM
Posted By: sparta Re: Script Editor enhancements - 06/04/04 01:30 PM
many other clients dont even have a editor.. and i think that a separate editor can give the scripter much more, it dosent mather if its 10 meg, if you want to code, then you download it with a smile.. smile and i guess that the servers that have mirc stored now can handle a fev megs more smile
Posted By: Narusegawa_Naru Re: Script Editor enhancements - 06/04/04 02:55 PM
also if they are NEW users they wouldnt know what they were looking at in the editor anyway wether they had it or not. However im against removing the editor entirely.

I still think the idea that was floating around a while ago was good. You could select an editor to use (or use the internal one by default). mIRC would export a few functions for reloading scripts etc..
© mIRC Discussion Forums