mIRC Homepage
Hello,

It would be a nice and useful tool especially for starters to add an position in $error.

Example:

Code:
alias test {
  var %test 1
  if (%test) { echo -a $gettok(%a,1,32) - $gettok(%b,2) - $gettok(%c,3,32) }
}


This code has an scripting error into the second $gettok so when the $error trigger the error message will be like this:

* Too few parameters: $gettok (line 3:43, test.mrc)

And after this error that will trigger with error position the scripter will more easy open the script editor and directly go into the specific line-position that the error occurred.

- Thanks!
+1
For noobs, who write tons of code without step-by-step checking it would be useful too. No, its not about me..
not just for starters (noobs)
© mIRC Discussion Forums