function recept()
diarecept = sampShowDialog(20, string.format("{336633}MOHHelper | Рецепт {cc0000}действия с %s[%d]", name, id), string.format("Приветствие \nРП отыгровка \nВыдать рецепт"), "Выбрать", "Закрыт", 2)
repeat
wait(0)
resul, button, listrecept, input =...