UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

AssistUO

scorxx

Sorceror
In sallos when you stunned/got stunned, the stunned subject turned red allowing you to know the target was stunned.

My question: Is there a way to make a If "conditional" type macro that always runs so that when a system message You successfully stun your opponent, or I have been stunned, it will like [e scream or something to that extent? I'd also like to say in party chat I have been stunned!, or I stunned my target!

Thanks for the help in advance.
 

Kraz

AssistUO Developer
Code:
if @injournal 'successfully stun' 'system'
 playsound soundIdHere
 @clearjournal
endif

You can also add custom .wav sound files, to AssistUO/Sounds folder and call it like:
Code:
playsound 'myFile.wav'

AssistUO will allow 1 macro execution per time, if you are smart you can use playmacro command to chain separated macros, but it won't allow you making custom and background and/or parallel executions.

http://assistuo.com/doc/main/play-macro/
http://assistuo.com/doc/main/play-sound/
http://assistuo.com/doc/others/journal/
 
Top