ScriptUO

Scripting Resources & Utilities => OEUO => OpenEUO Scripting Chat => Topic started by: Crome969 on August 14, 2011, 11:50:23 PM

Title: Handling Guild\Alliance Chatting
Post by: Crome969 on August 14, 2011, 11:50:23 PM
I currently writing more small parts for my oeuo Lib and wanted to know how to handle the Alliance\Guild Chat writing...
Example:
Code: [Select]
function SayParty(a)
UO.Key("7",false,false,true)
wait(50)
UO.Msg(a)
wait(50)
UO.Key("enter",false,false,false)
end
worked perfectly for Party, hope same combination working for Guild\Alliance but it seems UO.Key dont use | or \ for Guild alliance. Or it depends on US Keystrokes,wich i dont know how are they..
any ideas'?

Crome
Title: Re: Handling Guild\Alliance Chatting
Post by: Endless Night on August 16, 2011, 07:30:09 AM
UO.Msg('/'..a)

or

UO.Msg(string.char(??)..a)   -- not sure of ascii code or character or the precise string.char function name).