loktai

Autotrain

Dec 8th, 2021
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Regex script for trigger:
  2. ^\|(.*)\|(\d+)\s*\|\d+\s*\/\d+\s*\|\d+\s*\|.*\|None\s*\|$
  3.  
  4. Body of trigger:
  5. #var skill %trimright( %1)
  6. #if (%2 < 10) {#var pct 80} {#if (%2 < 15) {#var pct 75} {#var pct 65}}
  7. #if (@freemax) {
  8. train @skill to: @pct
  9. study @skill to: @pct
  10. } {
  11. train @skill to: 100
  12. study @skill to: 100
  13. }
Advertisement
Add Comment
Please, Sign In to add comment