I use <include> to organize my plugins source over various files, depending on the precise part of the global purpose of the plugin. But if I make a typo somewhere, there's a chance I'll be seeing this:
Script error
Plugin: Curing (called from world: Blahblahblah)
Execution of line 7122 column 7
Function/Sub: LoadCuring called by alias
Reason: processing alias ""
invalid syntax
I believe that MUSHclient appends all the <script> blocks and then runs the interpreter, which gives the linenumber. Could there be an option that either:
1) displays the actual <include> filename and the line-number in that file?
2) displays the line in question.
Also, logically line numbers have historically been off a bit due to the fact <trigger(s)>, <alias(es)>, <variable(s)> etc aren't counted but only the executable script is. Either option would also make it easier to deal with this kind of issue.
(And in case you were thinking of suggesting it.. no, I can't split it up in different plugins.:) )
Script error
Plugin: Curing (called from world: Blahblahblah)
Execution of line 7122 column 7
Function/Sub: LoadCuring called by alias
Reason: processing alias ""
invalid syntax
I believe that MUSHclient appends all the <script> blocks and then runs the interpreter, which gives the linenumber. Could there be an option that either:
1) displays the actual <include> filename and the line-number in that file?
2) displays the line in question.
Also, logically line numbers have historically been off a bit due to the fact <trigger(s)>, <alias(es)>, <variable(s)> etc aren't counted but only the executable script is. Either option would also make it easier to deal with this kind of issue.
(And in case you were thinking of suggesting it.. no, I can't split it up in different plugins.:) )