Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ConsoleEntryReply

This function is used for console output in UO Client. For example - rune renaming.

If you not sure, if ConsoleEntry or ConsoleEntryUnicode coming from server - check Journal, message about console entry will be printed there.

If Console Entry already received from server - this method will immediately send answer to server. If not received yet - the hook installing, and once Console Etry will come - it will be processed by this hook.

Pascal

procedure ConsoleEntryReply(Text : String)

Python

def ConsoleEntryReply(Text)

Example Python

etContextMenuHook(book_to_rename_ID, 0)  # ставим ловушку на автовыбор "Name Book"
RequestContextMenu(book_to_rename_ID)     # вызываем контекстное меню книги
Wait(1500)                                # немного ждем на всякий случай
ConsoleEntryReply(("New book name"+"\r")) # вводим новое название книги