mIRC Homepage
Posted By: Nimue $scriptline - 01/03/03 03:42 AM
$scriptline is always 0 when called from single line events.

Code:
on *:join:#:echo -s * $nopath($script) $scriptline
[color:#666666]* misc.mrc 0[/color]
$scriptline should be 11
Code:
on *:join:#:{
  echo -s * $nopath($script) $scriptline
}
[color:#666666]* misc.mrc 12[/color]
$scriptline works fine in this case.
Posted By: Insane Re: $scriptline - 02/03/03 02:26 PM
yes, also when there r errors in script, mirc writes out the line number with error message when the script is coded like that second one ;-)
© mIRC Discussion Forums