mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Jul 2006
Posts: 248
B
bwuser Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
Is there any other script editor then the build in one?

Joined: Oct 2007
Posts: 92
N
Babel fish
Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
yes there is
try www.google.com

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

The script editor has everything you need and nothing you don't. smile

Joined: Jul 2006
Posts: 248
B
bwuser Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
Originally Posted By: nomer2007
yes there is
try www.google.com

For example?

Don`t say some standard editor which has no mirc script support, this would not be really helpful.

Originally Posted By: RoCk

The script editor has everything you need and nothing you don't. smile

Did you you some ide in past? smile

(Syntax highlight, debugging, code completer)

Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Syntax highlighting and code completers are lazy; read the help file and type the entire code yourself.

Debugging already exists; just add /echo lines within your code.

-genius_at_work

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Originally Posted By: genius_at_work
Syntax highlighting and code completers are lazy; read the help file and type the entire code yourself.


They save time, which is valuable when you're working on something that could be considered a medium or large sized project.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I don't know that they are really all that time saving... I can type really quickly and if I have to slow down typing a command just to see if the code completer completes it with the correct command, it will actually take longer. Colored syntax isn't bad, but isn't all that important. Unless you miss things a lot (parentheses, braces, etc), you really don't need it. I wouldn't mind having those in the built in editor, but I also wouldn't use those as a reason to switch editors either. Besides, I prefer to have instant access to test whatever I script without having to reload the script all of the time. That in itself saves a lot of time by using the built-in editor.


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
If you know every name and syntax of every command off by heart then you might not have a use for it, but for beginner to intermediate scripters they can be very useful features.

For example, a newbie might think that sockets have to be "ended" or "exited" rather than "closed", thus using /sockend or /sockexit rather than /sockclose

That's just one example, there's plenty more though..

/hadd -> /happend
/hfree -> /hdelete|/hdestroy
...

Most "intelligent" code completers will also tell you what parameters go with the command/identifier too, thus making it much easier to know exactly how to use the command and save you having to open the help file to check.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
And at the same time, the user never actually learns how to do the scripting and relies solely on the editor to do the work for his or her. I think anyone who wants to script *should* be looking in the help file on a regular basis... at least until he or she knows enough that it isn't necessary.

There are many things out there that do the same sort of thing... let someone do something without knowing how to do it. And when that person doesn't have the "tool" available, he or she isn't able to do anything. Just as a quick example, schools teach how to do math without a calculator before they let kids start using one. A calculator is faster and easier. But when you don't have one, if you can't do the math by hand, you're stuck. It's all the same idea. Learning how to do it is better than having it done for you. Eventually, that will just bite you.


Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
I second this opinion.
There is room for some improvements in useability, for example syntax highlighting or an improved search feature (wildcards, regex) etc.
These issues have beeen suggested before, and these issues can be found (to some degree) in third party editors - but then, these editors are not "specialised" in our tiny, exotic language called MSL - thus I'd like to see them in-build. smile
But, instead of a "auto syntax completer", I think a general revisal of the helfile would help all of us - and this revisal (fixing small errors/ambiguous passages, adding some undocumentated commands, adding more examples [!] etc) would be a large-scale project none the less.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It's not our place to say whether people should spend time learning how to script. Perhaps they just want to create one script for one specific purpose. Don't forget that mIRC is first and foremost a chat client, it's not supposed to be a general purpose programming environment. From this perspective code completion would benefit your average "non-hardcore" user, and would also benefit more experienced people by saving them extra keystrokes.

I don't think the fact that it might or might not discourage people from looking in the help file is a very good reason not to include this feature.

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

If it is added then it will be forced on everyone that doesn't want it just so some don't have to bother to "spend time learning how to script". The syntax highlighting would be fine but if I were forced to deal with code completion it would drive me suicidal, possibly postal. Horstl pretty much has the same ideas of editor improvement as I; syntax highlighting, support for wildcard and regex search. Re-writing the help file to make it more understandable to the average "non-hardcore" user would be great.

Joined: Jul 2006
Posts: 248
B
bwuser Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
The question wasn`t if this features are good or not. Sure them are, most professional programmers / software studios are using ide`s with similar features because of an obvious reason - if you like them, them are useful.

Also collection feedback about the build in editor is a good idea, but I think this is the wrong topic name to get attention on that.

I think this question is solved. There is no alternative script editor and no external compiler/interpreter. The last open question for me is, why a new language just for a irc client...

Originally Posted By: nomer2007
yes there is
try www.google.com

Thanks again for the most pointless answer. Tell people to search, whatever the question is. This is not the point of a forum. At least there is nothing to find to answer that question on google.

Joined: Oct 2007
Posts: 92
N
Babel fish
Offline
Babel fish
N
Joined: Oct 2007
Posts: 92

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033
Originally Posted By: bwuser

The last open question for me is, why a new language just for a irc client...



I think it probably just started small to do a few IRC related things, and as Khaled says in Khaled's FAQ...

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Originally Posted By: hixxy
I don't think the fact that it might or might not discourage people from looking in the help file is a very good reason not to include this feature.


I never said it shouldn't be included in mIRC. I wouldn't mind having it included. I only said that, 1) I don't think it really improves speed that much unless you don't know commands, and 2) using "completers" of any sort tends to keep people from taking the time to learn how to do things.

I think adding such things to mIRC's script editor to add more functionality to it is a good idea and I never meant that it isn't. I was only referring to the idea that using alternate scripting programs because of those reasons isn't necessarily as good as people make it out to be for the reasons I mentioned here and also, as I mentioned previously, you have to take the time to reload your script anytime you want to test it if you use some other editor, which can slow you down more than any features on the editor *might* speed you up... unless you never test until you are done, of course.

I also want to second the idea that improving the help file is also a good idea. And examples are probably the most important thing that the help file is lacking. There are examples for only some of the commands, and not enough examples even for most of those to really show how things work. That said, writing help files is a long and boring process and most people don't like doing so. I know, I've been slowly writing one for Invision and it is so tedious that I still haven't completed it.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Try writing system documentation.. wink


Joined: Oct 2007
Posts: 92
N
Babel fish
Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Quote:
Is there any other script editor then the build in one?


You asked that right? isn't the mEditor that i posted earlier a mirc editor too? grin

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Sure code completers are found in other editors, but these editors are highly professional programs which allow you to create designs and applications that could possibly earn you a 6 figure income. mIRC is more of a hobby, IMO. Not to take anything away from the work Khaled has done.

Considering mIRC just got an facelift and was fitted with a "new" script editor, you should post your requests in the feature requests section.

Joined: Sep 2006
Posts: 18
T
Pikka bird
Offline
Pikka bird
T
Joined: Sep 2006
Posts: 18
Personally, I dont like the idea of having a completer etc on the normal scripts editor. Sure, it takes time to learn how to do things. But then, after you've learnt it, even if not all of it, you get the satisfaction that you have just made something yourself.

Granted, I'm not the best of scripters, but I know enough to keep myself going, and most of that is stuff I've learnt from the help file. You just have to build up your knowledge and not just jump in the deep end and fall at the first hurdle.

I know this isnt entirely relevant, but I feel that created codes/scripts with a completer, (imo) is kinda cheating. Sure if somebody only wants to make a one-off script for their mIRC, then it would be helpful, but, i dont think it is entirely needed. If they want to do something simple, the help file should have all the info they need in it. If they want something complicated, they should go on a dedicated site for mIRC scripts, and look/request what they want.

Thats my thoughts anyway smile

Page 1 of 2 1 2

Link Copied to Clipboard