02-01-2009, 10:14 AM
For i = 1 to [max message slots]
if getvar(app.path & "/accounts/"& getplayerlogin(MsgTo) & "ini", Mail, "msg" & i) "" then
Call PutVar(App.Path & "/accounts/" & GetPlayerLogin(MsgTo) & ".ini", "Mail", "msg" & i, Msg)
exit sub
end if
next i
Something like that..
if getvar(app.path & "/accounts/"& getplayerlogin(MsgTo) & "ini", Mail, "msg" & i) "" then
Call PutVar(App.Path & "/accounts/" & GetPlayerLogin(MsgTo) & ".ini", "Mail", "msg" & i, Msg)
exit sub
end if
next i
Something like that..