Is it possible to send script command or call scripted functions instead of simple commands i.e.
i know i can:
SendMessage <uo>,WM_USER+0x4321,1,GlobalAddAtom("msg Hello")
but why i can't
SendMessage <uo>,WM_USER+0x4321,1,GlobalAddAtom("Uo.Print(\"text)\"") ?????
i need such a feature!!! or btw something to echo text to system message
i know i can let easyuo do this but i don't want to use e4zy
Sir Yoko help me pls-!!!!!!!!
[Help] with WM_USER+0x4321
Moderators: Murderator+, Murderator
I think scripting functions couldn't be called outside from scripting module.
Only functions working also via input line of UO window could be sent.
Only functions working also via input line of UO window could be sent.
The pleasure of satisfying a savage instinct, undomesticated by the ego, is incomparably much more intense then the one of satisfying a tamed instinct. S.Freud.
First thanks very much for interest
but what i'm searching for is a way to:
1. Pass arguments to script functions i.e. ,Exec Echo("Hello!")
2. a ,sysMessage command not only ,msg which displays text on the head of the character
3. If possible support for new aos spells
For 1-2 is 'cause i've written a prog. that reads uo map chat messages and send it to inj. but inj can only understand ,msg this way (wm_user+) and so messages are displayed on the top of the head of pg instead of bottom left corner.
anyway thanks again
so SHORTLY is is possible something like this : ,exec MyFunction(arg1,arg2) ?
or simply a SET which allow to set injection variables ? 'cause as i know addobject does store only numbers

but what i'm searching for is a way to:
1. Pass arguments to script functions i.e. ,Exec Echo("Hello!")
2. a ,sysMessage command not only ,msg which displays text on the head of the character
3. If possible support for new aos spells

For 1-2 is 'cause i've written a prog. that reads uo map chat messages and send it to inj. but inj can only understand ,msg this way (wm_user+) and so messages are displayed on the top of the head of pg instead of bottom left corner.

anyway thanks again
so SHORTLY is is possible something like this : ,exec MyFunction(arg1,arg2) ?
or simply a SET which allow to set injection variables ? 'cause as i know addobject does store only numbers
FreeUser wrote:so SHORTLY is is possible something like this : ,exec MyFunction(arg1,arg2) ?
no way
FreeUser wrote:or simply a SET which allow to set injection variables ? 'cause as i know addobject does store only numbers
[yhlp_SetEasyUO] and [yhlp_GetEasyUO] using registry to store and retrieve values
you may use it