ScriptUO

Official ScriptUO EasyUO Scripts => Script Snippets => Topic started by: camotbik on September 11, 2011, 10:47:06 AM

Title: CAMOTbIK's Team speak
Post by: camotbik on September 11, 2011, 10:47:06 AM
Code: [Select]
;===========================================================
; Script Name: CAMOTbIK's Team Speak
; Author: CAMOTbIK
; Version: 0.1f 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/11
; Public Release: 2011/09/11
; Global Variables Used: None
; Purpose: To scan journal and do requested commands
;===========================================================
Example of usage: If some one says move nickname, the character will move to the spoken nickname.
This is just a snippet with only move command in. I don't want to publish the complete script, but if you are clever enough, you will make your own commands.
Title: Re: CAMOTbIK's Team speak
Post by: gimlet on September 11, 2011, 03:01:07 PM
nice - I see many uses for this
Title: Re: CAMOTbIK's Team speak
Post by: camotbik on September 11, 2011, 08:47:23 PM
This may come in handy as well
Code: [Select]
set #targcurs 1
while #targcurs = 1
 wait
gosub getname #ltargetid
event macro 1 1 move #result

sub getname
  event property %1
  str pos #property $ 1
  set %lenght #strres - 1
  str left #property %lenght
  set %name #strres
  if lady in %name || lord in %name
  {
    str Del %name 1 5
    set %name #strres
  }
  str pos %name [ 1
  if #strres > 0
  {
  set %lenght #strres - 1
  str left %name %lenght
  set %name #strres
  }
return %name
Title: Re: CAMOTbIK's Team speak
Post by: Crome969 on September 11, 2011, 11:02:29 PM
Think we should talk about an OpenUO version of it, Camotbik. It would speeding it up ;)
Title: Re: CAMOTbIK's Team speak
Post by: camotbik on September 11, 2011, 11:21:58 PM
Sure, but with my lack of knowledge of oeuo I would write the functions a year, lol. But yeah,  oeuo is the way to go.
Title: Re: CAMOTbIK's Team speak
Post by: Crome969 on September 12, 2011, 12:59:25 AM
Sure, but with my lack of knowledge of oeuo I would write the functions a year, lol. But yeah,  oeuo is the way to go.
We can do this;-)