TradeCount
Returns the number of currently active secure trade windows.
Returns 0 if no trades are active or the character is not connected.
Возвращает количество активных окон безопасной торговли.
Возвращает 0, если торговых окон нет или персонаж не подключён.
function TradeCount: Byte;
def TradeCount() -> int: ...
begin
AddToSystemJournal('Active trades: ' + IntToStr(TradeCount));
end.
AddToSystemJournal(f'Active trades: {TradeCount()}')