require("addon")
local sampev = require("samp.events")
list = {
["Nick_Name1"] = "password1",
["Nick_Name2"] = "password2",
["Nick_Name3"] = "password3"
}
function sampev.onShowDialog(id, style, title, btn1, btn2, text)
local password = list[getBotNick()]
if id == 2 and password then
sendDialogResponse(id, 1, -1, password)
return false
end
end