set %_jindex #jindex
repeat
onhotkey ENTER
{
menu get shout_edit ; set this to the name of the edit box where you'll write stuff
event macro 4 4 #menures
menu set shout_edit
}
if #jindex >= %_jindex
{
scanjournal
if %entry <> #journal
{
menu get Public
set %Public #MENURES
menu get Guild
set %Guild #MENURES
menu get Faction
set %Faction #MENURES
menu get Aliance
set %Aliance #MENURES
set %entry #journal
gosub underscore %entry
set %time #time / 100
set %hour %time / 100
set %minutes %time - ( %hour * 100 )
if %Guild = #true && [Guild] in %entry
{
menu List Add EUOListBox1 %hour , : , %minutes #result
continue
}
if %Faction && <Faction> in %entry
{
menu List Add EUOListBox1 %hour , : , %minutes #result
continue
}
if %Aliance && [Alliance] in %entry
{
menu List Add EUOListBox1 %hour , : , %minutes #result
continue
}
if %Public
menu List Add EUOListBox1 %hour , : , %minutes #result
}
set %_jindex %_jindex + 1
}
if #menubutton = Pause
{
set #MENUBUTTON N/A
menu Delete Button Pause
menu Button Start 468 208 77 17 START
repeat
wait 0
until #menubutton = Start
menu Delete Button Start
menu Button Pause 468 208 77 17 PAUSE
set #MENUBUTTON N/A
}
until #false