mIRC Home    About    Download    Register    News    Help

Print Thread
#44347 27/08/03 08:58 AM
Joined: Aug 2003
Posts: 3
B
bugs Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Aug 2003
Posts: 3
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

#44348 27/08/03 10:11 AM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Why would any1 have such long lines?


Code:
//if ( khaled isgod ) echo yes | else echo no
#44349 27/08/03 12:57 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#44350 27/08/03 05:03 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#44351 28/08/03 08:29 PM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
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


You won't like it when I get angry.
#44352 31/08/03 03:11 AM
Joined: Jun 2003
Posts: 130
O
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
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.


If only women came with popup menus and online help.

Link Copied to Clipboard