Here is a sample of a script that ASKS the user for a password and processes the answer. IT uses the WxLUA call wx.wxGetPasswordFromUser()
local Pword = "FrogLog"
local Pnum = 0
while Pnum <3 do
local Panswer = wx.wxGetPasswordFromUser("What is the Password ? ")
if Panswer == Pword then
wx.wxMessageBox("The Password is " ..Panswer)
else
wx.wxMessageBox("Wrong Password")
Pnum =(Pnum+1)
end
end
wx.wxMessageBox(" Call YOUR Supervisor for HELP! ")