Back to "pvm" tags

1H or RH by AreYouKidden🐲

Description: 1H or RH 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.

1@setvar 'PauseTime' 600
2if not find '1H' 'self'
3    overhead 'Select 1H'
4    @setvar '1H'
5endif
6if not rhandempty
7    clearhands 'right'
8else
9    getlabel '1H' label
10    if targetexists or 'spellbook' in 'label'
11        if findlayer 'self' 'lefthand' as 'LH'
12            getlabel 'LH' 'label'
13            if 'shield' in 'label' or 'buckler' in 'label'
14            else
15                clearhands 'left'
16                pause 100
17            endif
18        endif
19        if findlayer 'self' 'righthand'
20            clearhands 'right'
21            pause 100
22        endif
23        lift '1H' 1
24        pause 'PauseTime'
25        drop 'self' 'FirstValid'
26    elseif not targetexists 
27        dclick '1H'
28    endif
29endif