ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: gimlet on August 12, 2011, 09:56:07 AM

Title: Question
Post by: gimlet on August 12, 2011, 09:56:07 AM
I am looking for a snippet or sub that will yell out guards when he is attacked. Anyone have one?
If not - what is the best way to determine if you are being attacked?
Title: Re: Question
Post by: manwinc on August 12, 2011, 10:13:19 AM
Hmm.... Probably Just a check for


if #hits < #maxhits || Attacking in #Sysmessage ?? Could do a scan journal, but would have to rule out : to make sure another player wasn't saying it....

Wait.... Guard whacking Script!!!!... BAH!
Title: Re: Question
Post by: Endless Night on August 16, 2011, 05:27:20 PM
Code: [Select]
; Open status bar before running
if #hits < #maxhits || Attacking in #Sysmessage
  {
   msg Guards im a pussy and need help $
   wait 10
   msg Guards really I carnt fight my way out of a paper bag, wack this guy please $
   wait 100
   }
   
Title: Re: Question
Post by: gimlet on August 16, 2011, 06:39:45 PM
Well - it's true - can't fight my way out of a paper bag - but these are big demon type spiders and when i'm mining or jacking they kill me.

Now it sure would be nice if it was an option in Overseer!
Title: Re: Question
Post by: Endless Night on August 16, 2011, 06:43:34 PM
Well - it's true - can't fight my way out of a paper bag - but these are big demon type spiders and when i'm mining or jacking they kill me.

Now it sure would be nice if it was an option in Overseer!

LOL it could be it could be.... would need a table of town grid references to determine if in a town.. no use calling guards if out in the boonies..