ScriptUO
Official ScriptUO EasyUO Scripts => Script Library => Misc. Scripts => Topic started by: camotbik on September 22, 2011, 08:58:32 AM
-
;=====================================================================
; Script Name: CAMOTbIK's Journal logger
; Author: CAMOTbIK
; Version: 0.4 Alfa
; Client Tested with: 7.0.14.0
; EUO version tested with: 1.92
; Shard OSI / FS: FS WWW.RWUO.COM
; Revision Date: 2011/09/22
; Public Release: 2011/09/22
; Global Variables Used: None
; Purpose: Journal log
;=====================================================================
(http://img546.imageshack.us/img546/3784/journal3.png)
Nothing fancy, but this little thing helps me read the chat, when I come back from whatever I was doing..
-
Ok now, maybe someone knows, how to handle the tricky editbox by pressing enter to send the message trough? )
-
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
-
heh, i was thinking about onhotkey before, but I thought it only works ingame, not in a menu. Thanks.
ps: maybe some one knows, how to shut off the sound(beep) on pressing enter in editbox?
-
heh, i was thinking about onhotkey before, but I thought it only works ingame, not in a menu. Thanks.
ps: maybe some one knows, how to shut off the sound(beep) on pressing enter in editbox?
Is it making a beep sound when you press enter on the edit box?
EDIT: yeah, just turned on the sound and heard it here... It's an editbox thing for when you push enter in your edit box...
-
Sometimes the stuff that I see written blows me away, I would have never seen the need for this before but my goodness would it be interesting to read and sneak peeks.
-
lol, i just read the code and i forgot to put few = #TRUE in, so fixed.
-
lol, i just read the code and i forgot to put few = #TRUE in, so fixed.
Don't think you forgot... I removed them when I wrote the code for the enter key stroke thing... They are not needed...
-
you mean
if %Faction
is the same as
if %Faction = #true
?
-
you mean
if %Faction
is the same as
if %Faction = #true
?
Yes
-
cool, didn't know that
-
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)
Thank you for your submission.