;============================================
; Script Name: Lightning Strike
; Author: Ice
; Version: 1.0
; Client Tested with: 7.0.5.0
; EUO version tested with:EasyUO Version 167
; Shard Crow's Kingdom
; Purpose: Keeps your Lightning Strike active
; Known Issues: Always make sure nothing
; is blocking Your view of the spell Icon
;=============================================
set %TheSpot1 900
set %TheSpot2 668
menu clear
Menu Show 50 50
Menu Window Size 290 100
menu Window Title Lightning Strike - Setup
menu Window Color black
menu Font BGColor black
menu Font Color red
Menu Text Server 10 10 Move your Lightning Strike Icon, make sure $ It Is NOT active. $ Your View of IT should Never Be Unstructed $ After you have done this click Okay
menu Font Color Green
menu button one 100 76 50 20 Okay
set #menubutton n/a
goto window
Watchmen:
{
cmpPix 1 f
{
 event macro 15 149
 wait 10
}
goto Watchmen
}
window:
{
 if #menubutton = one
 {
  set #menubutton n/a
  menu hide
  gosub SetUp
 }
 goto window
}
sub SetUp
set %Locking #true
       repeat
          while #contname <> spellicon_gump
          {
                sleep 10
          }
          contpos %TheSpot1 %TheSpot2
          wait 10
          if #CONTPOSX = %TheSpot1 && #CONTPOSY = %TheSpot2
             set %Locking #false
             event macro 15 149
             wait 10
       until %Locking = #false
       set %pixX %TheSpot1 + 10
       set %pixY %TheSpot2 + 10
    savePix %pixX %pixY 1
    goto watchmen
