Author Topic: Comparing Skill Gains?  (Read 2072 times)

0 Members and 1 Guest are viewing this topic.

Offline DeadIssue2Topic starter

  • Sr. Member
  • *
  • Posts: 287
  • Activity:
    0%
  • Reputation Power: 3
  • DeadIssue2 has no influence.
  • Gender: Male
  • Respect: +21
  • Referrals: 1
    • View Profile
Comparing Skill Gains?
« on: March 01, 2009, 07:12:31 PM »
0
I play on siege with the ROT system so every 5 min=a .1 gain.
So what I am trying to do is write a script that will use a skill and check to see if there is a .1 gain after the skill has been used and either try again or wait 5 minutes then get another gain. I have got a sub that will work the skill but I can not figure a way to compare the previous skill to the new skill.

Any help would be great.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Comparing Skill Gains?
« Reply #1 on: March 01, 2009, 07:20:42 PM »
0
Just make a note of your present skill before you use the skill:

Code: [Select]

set %temp_skill #SKILL
loop:
  (do something with that skill)
  if %temp_skill <> #SKILL
  {
    set %temp_skill #SKILL
    (wait 5 minutes)
  }
  goto loop
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: