User interface of the scripts:
ASM makes possible for scripts to interact with the users with the dialog boxes.
Interface windows possess united design and they always monotonous react to the actions of user. They are carried out in the modal regime above all windows, that they will not make it possible user to ignore them. Pressure on Enter in the interface window indicates the confirmation of selection. Esc indicates deviation from the answer.
For the work with the interface window the mouse is not necessary, it wholly is governed from the keyboard. After its closing the focus returns to the window, which was active before the appearance of a interface window. These special features make it possible to use interface windows in the scripts on PVP / PvM.

string asmInputString(string Request[, string PreValue])
Function places on screen the dialog box of the introduction of string. The parameter 'Request' is the question, which the user must answer. The answer of user is the result of function. Function will return the empty line if user it deviated from answer.
If is assigned the optional parameter 'PreValue', then its value will prove to be in the field of the introduction of line. Otherwise the field of the introduction of line will be empty and for user it is necessary independently to fill it.

number asmInputList(string Request, string Values[, number PreValue])
Function places on screen the dialog box of the selection of line from the simple list. The parameter 'Request' is the question, which the user must answer. Variants of selection are transferred by the parameter 'Value'. Variants must be concluded in the single quotation marks " ' " and are divided by semicolon " ; ". The number of the answer of user is the result of function. Function will return 0 if user it deviated from answer. If is assigned the optional parameter 'PreValue', the like to default in the list will be assigned selected element with the number 'PreValue'. The first element will be otherwise selected.

number asmInputCombo(string Request, string Values[, number PreValue])
Function places on screen the dialog box of the selection of line from the falling out list. The parameter 'Request' is the question, which the user must answer. Variants of selection are transferred by the parameter 'Value'. Versions must be concluded in the single quotation marks " ' " and are divided by semicolon " ; ". The number of the answer of user is the result of function. Function will return 0 if user it deviated from answer.
If is assigned the optional parameter 'PreValue', the like to silence in the list will be assigned selected element with the number 'PreValue'. The first element will be otherwise selected.

asmMessageBox(string Caption, string Text)
Function places on screen window with the title 'Caption' and text 'Text'.

Пример:
sub main()
  UO.Print(UO.asmInputString("How many objects to move?","15"))
  UO.Print(STR(UO.asmInputList("From what metal to craft armor?","'Silver';'Gold';'Rose';'Agapite'",2)))
  UO.Print(STR(UO.asmInputCombo("What force potion to craft?","'Weak';'Normal';'Strong';'Total'",4)))
  UO.asmMessageBox("The information:","Situation is under the control! :)")
end sub