2H or LH by AreYouKidden🐲
Description: 2H or LH weapon script - on first use will let you select weapon. Can be used to swap between 1H & 2H scripts, and has handling for when a target is up so you don't break target for mages. Also has handling for shields, so it'll unquip shields if you are going 1H with Shield.
1@setvar 'PauseTime' 600
2if not find '2H' 'self'
3 overhead 'Select 2H'
4 @setvar '2H'
5endif
6if not lhandempty
7 clearhands 'left'
8else
9 getlabel '2H' 'label'
10 if targetexists or 'crook' in 'label'
11 if 'shield' in 'label' or 'buckler' in 'label'
12 if findlayer 'self' 'lefthand'
13 clearhands 'left'
14 pause 100
15 endif
16 else
17 if findlayer 'self' 'righthand' or findlayer 'self' 'lefthand'
18 clearhands 'both'
19 pause 100
20 endif
21 endif
22 lift '2H' 1
23 pause 'PauseTime'
24 drop 'self' 'FirstValid'
25 elseif not targetexists
26 dclick '2H'
27 endif
28endif