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.

UO steam, timer

MMMartin

Squire
if make some timmer

if not timerexists 'vet'
createtimer 'vet'
settimer 'vet' 0
endif


if somehow possible see time 'vet' ?
i mean for know exactly time... in sec*
 

deathviper

Sorceror
not sure how to actually see the time.

if not findalias 'Pet1'
promptalias 'Pet1'
endif
if not timerexists 'Pet1HealTimer'
settimer 'Pet1HealTimer' 6501
endif
if timer 'Pet1HealTimer' >= 6500 and hits 'Pet1' < maxhits 'Pet1'
usetype 0xe21 'any' backpack
waitingfortarget 1000
@Target 'Pet1'
settimer 'Pet1HealTimer' 0
endif
 
Last edited:

LittleMary

Traveler
I think so. Im not at home. But did you try:
sysmsg 'vet'
I know it work with list to know where you are at in the list.
 

MMMartin

Squire
I think so. Im not at home. But did you try:
sysmsg 'vet'
I know it work with list to know where you are at in the list.

tested right now...

if not timerexists 'vet'
createtimer 'vet'
settimer 'vet' 0
endif
pause 5000
sysmsg 'vet'

no write number... it have be like 5000+ [5sec], but write me only vet

i was try too this
sysmsg " 'vet' " ... too no work...
 

LittleMary

Traveler
My bad! Try
sysmsg vet
remove the ' '
'' is for text but vet is a variable. So I said it wrong in first post.
 

MMMartin

Squire
My bad! Try
sysmsg vet
remove the ' '

nope write just vet :) ...

 

c0d3r

Traveler
if you want to print the timer value there is a command: timermsg 'vet'
you can also click the Active Objects button and go to Timers tab

note that you dont have to createtimer and settimer, settimer command will create the timer if it does not exist and start that timer from a value, createtimer will also create but always start from 0, check the Documentation.pdf file inside uos folder
 
Top