marking, renaming runes
change strings
msg This is powa rune $
if powa notin #property
change strings
msg This is powa rune $
if powa notin #property
codice:
set #lpc 1000 set %packtype HKF_UXM_CUD set %runetype QWL set %neededmanaformark 11 set %pack #findid set #lobjectid %pack event macro 17 0 loop: set %q 0 wait 1 if #mana < %neededmanaformark { set %scan_journal_line #jindex gosub med } heal: if #hits < #maxhits - 10 { set #ltargetid #charid event macro 23 0 event macro 15 3 target 8 event macro 23 0 goto heal } ignoreitem reset event macro 15 44 target havemana: finditem %runetype C_ , #backpackid if #findcnt > 0 && #mana > %neededmanaformark { for %i 1 #findcnt { set #findindex %i set %rune #findid property: event property %rune str count #property $ if #strRes < 2 { event macro 1 0 #property goto property } if powa notin #property { set #ltargetid %rune set #LTARGETKIND 1 target event macro 22 0 wait 1 if #mana < %neededmanaformark * 2 { gosub med } set #lobjectid %rune event macro 17 0 event macro 15 44 wait 10 msg This is powa rune $ wait 10 set %q 1 } sleep 1 } } if %q = 0 halt goto loop sub med wait 5 med: set %scan_journal_line #jindex if #mana > #maxmana * 4 / 5 { set %scan_journal_line #jindex + 1 return } event macro 13 46 wait 20 for %jrnl %scan_journal_line #jindex { scanjournal %jrnl if ( use_another in #journal || cannot_focus in #journal ) && : notin #journal && #mana > #maxmana * 4 / 5 { return } if enter in #journal && : notin #journal { while #mana < #maxmana * 4 / 5 { wait 2 } set %scan_journal_line #jindex + 1 return } if peace in #journal && notin #journal { set %scan_journal_line #jindex + 1 return } } set %scan_journal_line #jindex + 1 goto med
Commenta