In the text file you need
Code: Select all
Profile1; connect;\ScriptName.sc; start
Code: Select all
Profile1; connect;\ScriptName.sc; start
Code: Select all
ProfileName; connect; /Script.sc; start
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')