Config setcurrentline

From Botnix
Jump to: navigation, search

config_setcurrentline

Syntax: main::config_setcurrentline(linenumber)

This sets the current line number. If you process a block of lines (e.g. you implement your own block with braces in your module) this should be set to the line number of your brace (not the line after) when you exit from your on_configure event (this is because the parser will automatically increment it again when you return).