Back to "boss" tags

Omni Result Scanner by jesaug205

Description: Set number of Omnis done on line 10, then just run the script to have all players from the Omnis added to the distro list.

//OMNI RESULT SCANNER (by Deathroll) //Character scanning must belong to a participating guild //Scanning characters guild must be on the damage results for the first link of the omni //_______________ //SET NUMBER OF OMNIS (MAX 10) <---------- ONLY SETTING YOU DO! @setvar omnicount 1 //_______________ if findtype 41456 ground any any 2 2867 as distrochest dclick distrochest waitforgump 2865667423 else overhead 'Get closer to a distro chest' stop endif //If you really dont want the script to clear results for some reason, change "clearresults" to 0 @setvar clearresults 1 @setvar run 1 @setvar gumpsearch 0 @setvar loopcount 0 say '[bossresults' waitforgump 1892293155 if clearresults == 1 while ingump 'Page' 2865667423 gumpresponse 10 2865667423 waitforgump 2865667423 endwhile for 10 gumpresponse 10 2865667423 waitforgump 2865667423 endfor endif while run = 1 overhead 'Scanning for an Omni...' wait 500 while gumpsearch == 0 while not ingump 'Results for Mastery Chain Link' 1892293155 gumpresponse 2 1892293155 waitforgump 1892293155 endwhile @clearsysmsg gumpresponse 11 1892293155 waitforgump 1892293155 if not insysmsg 'Your guild did not participate in this portion of the omni boss fight' overhead 'Omni found! Adding results...' for 43 gumpresponse 7 2865667423 waitforgump 2865667423 gumpresponse 5 1892293155 waitforgump 1892293155 endfor overhead 'Results added successfully!' gumpresponse 2 1892293155 waitforgump 1892293155 @setvar gumpsearch 1 else overhead 'Not our Omni! Skipping...' wait 1000 gumpresponse 2 1892293155 waitforgump 1892293155 endif endwhile @setvar gumpsearch 0 if loopcount == 0 @setvar loopcount 1 elseif loopcount == 1 @setvar loopcount 2 elseif loopcount == 2 @setvar loopcount 3 elseif loopcount == 3 @setvar loopcount 4 elseif loopcount == 4 @setvar loopcount 5 elseif loopcount == 5 @setvar loopcount 6 elseif loopcount == 6 @setvar loopcount 7 elseif loopcount == 7 @setvar loopcount 8 elseif loopcount == 8 @setvar loopcount 9 elseif loopcount == 9 @setvar loopcount 10 else overhead 'Unknown error, terminating script' stop endif if loopcount == omnicount @setvar run 0 endif endwhile gumpclose 1892293155 overhead 'Operation completed. Ending script.'