Back to "snippet" tags

Recall with Detect Hidden check after 2s delay by Brozan (Syal)

Related: Snippet

Description: Designed to recall into your home and detect hidden

#Make sure to have a runebook # or recall rune # named with Home in the name clearignore unsetvar 'gtfo' while findtype 8901 'backpack' as 'runeBook' getlabel 'runeBook' 'runeBookLabel' if 'Home' in 'runeBookLabel' setvar 'gtfo' 'runeBook' overhead 'Set recall to rune book' endif @ignore 'runeBook' endwhile while findtype 7956 'backpack' as 'runeBook' getlabel 'runeBook' 'runeBookLabel' if 'Home' in 'runeBookLabel' setvar 'gtfo' 'runeBook' overhead 'Set recall to rune book' endif @ignore 'runeBook' endwhile if not varexist 'gtfo' overhead 'You need a book or rune named Home' 33 wait 500 overhead 'You need a book or rune named Home' 33 wait 500 overhead 'You need a book or rune named Home' 33 wait 500 elseif skill magery >= 59 overhead 'Spell Cast' cast 'recall' wft 5000 target 'gtfo' elseif findtype 8012 'backpack'as recallScrolls if skill magery > 20 overhead 'Recall Scroll' #We have magery but prefer scrolls dclick 'recallScrolls' wft 5000 target 'gtfo' else overhead 'Book use' #We have loose recalls but recall with book dclick 'gtfo' wait 250 gumpresponse 2 endif else #Book use overhead 'Book use' dclick 'gtfo' wait 250 gumpresponse 2 endif wait 2000 hotkey 'Cancel Current Target' skill 'detectinghidden' waitfortarget 5000 target 'self' wait 200 if not insysmsg "no one hiding" hotkey 'Next Grey Player Target' say "I ban thee" wft 1000 hotkey 'Last Target' endif