Hi,
The first example, from nah nah's suggestion is just a couple of posts under.
Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7
[Python] example for Journal reading (solved)
[Python] example for Journal reading (solved)
Last edited by sauber on 04.12.2018 0:50, edited 2 times in total.
Re: [Python] Help example for Journal reading
you can use events or InJournalBetweenTimes with a datetime instances
Re: [Python] Help example for Journal reading
Hi,
one issue, I can't use Now in python, any idea what is used?
one issue, I can't use Now in python, any idea what is used?
Re: [Python] Help example for Journal reading
Code: Select all
import datetime
now = datetime.datetime.now()
Re: [Python] Help example for Journal reading
Thanks again!
Code: Select all
import datetime
def scanJournal():
start = datetime.datetime.now()
Wait(500)
UOSay('Hello')
Wait(100)
if InJournalBetweenTimes('Hello', start, datetime.datetime.now())) != -1:
AddToSystemJournal('Matching words')
else:
AddToSystemJournal('Not a match')