Yeah, I undestand what you mean, but .deposit don't work, and .bank only opens a windows that I have to click on Deposit, or Withdraw, to transform Adena into GB, or reverse. I can't do that with Events tab.
I tried this, but don't work:
var
adena:tl2item;
begin
while delay(555) do begin
inventory.user.byid(57, adena);
if assigned(adena) and (adena.count > 2 * 500000000) then begin // more than 5kk
while not user.target.dead do delay(11);
engine.facecontrol(0,false); delay(555);
engine.entertext('.bank'); delay(555);
engine.DlgSel('Deposit'); delay(555);
engine.facecontrol(0,true);
end;
end;
end.
Edit: I tried with DlgSel, DlgText, DlgOpen before the DlgSel, I am pretty sure it should work with Engine.ByPassToServer but I don't know what to put inside the parenthesis in ByPassToServer xD