codice:
Sub KillDiscord() var i,j,fl,c,lasttimer fl = 0 UO.IgnoreReset() i = 1 while i <= 12 and fl <> 1 UO.Set( 'finddistance', i ) UO.FindType( '-1' , '-1', '1') if UO.findcount() > 0 then c = UO.findcount() j = 1 while j <= c and fl <> 1 UO.FindType( '-1' , '-1', '1') if UO.GetNotoriety( 'finditem' ) == 3 then fl = 1 uo.waittargetobject( 'finditem' ) uo.say(' ') uo.say('all kill') lasttimer = UO.Timer() repeat wait(50) until UO.InJournal("all kill") or UO.Timer()>LastTimer+300 uo.DeleteJournal("all kill") uo.DeleteJournal("all kill") uo.waittargetobject( 'finditem' ) uo.useskill( 'Enticement') endif UO.Ignore( 'finditem') j = j + 1 wend endif i = i + 1 wend end sub
Commenta