Материал из Module developer
Перейти к: навигация, поиск

Write the script (logic) scanner - the logic must be in the "scan" function with the "data" parameter:

function scan (data) {
// Scanner's script is here
}

"data" is an object with fields of the scanner parameters. For example, in the "scan" function you can get "Host" entered by the user: myHost = data.Host