mIRC Homepage
Posted By: bugs Mirc Scripting Editor !! - 27/08/03 08:58 AM
while scripting today I had an extra long and completely over looked it.

Upon closeing the editor and reciveing no warning no nothing mirc chopped off 90% of the line.


THIS IS SO ANOYING ! mad
Posted By: theRat Re: Mirc Scripting Editor !! - 27/08/03 10:11 AM
Why would any1 have such long lines?
Posted By: Raccoon Re: Mirc Scripting Editor !! - 27/08/03 12:57 PM
This is a limitation of mIRC.

Scripts must be broken up into lines no greater than 950 characters.
This is demonstrated by all the scripting examples in the /help file.

- Raccoon
Posted By: starbucks_mafia Re: Mirc Scripting Editor !! - 27/08/03 05:03 PM
It's a limitation of the scripting language, not of the script editor. It should at least generate a warning if a line is too long instead of just silently removing the end of the line.
Posted By: zack Re: Mirc Scripting Editor !! - 28/08/03 08:29 PM
I think that was suggested a long time ago, for mIRC to warn the user if their line is too long for the editor.
A few suggestions might be:
  • Use a 'beep' similar to when a line is too long in the channel editbox
  • A warning dialog, stating that the line is too long.
  • Or an automative system, where the editor automatically appends a $& and drops the end of the line to the next.

/me shrugs
Posted By: obsessed Re: Mirc Scripting Editor !! - 31/08/03 03:11 AM
I think the best idea would be for mirc to just not allow the user to add any more text when the line reaches the limit along with a beep.
© mIRC Discussion Forums