-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhurl.cmd
More file actions
71 lines (63 loc) · 1.79 KB
/
hurl.cmd
File metadata and controls
71 lines (63 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
include library.cmd
if ("$charactername" = "Saragos") then
{
var weapontype elemental
var weaponname electric ht
}
if ("$charactername" = "Sorhhn") then
{
var weapontype weapon
var weaponname throwing axe
}
if ("$charactername" = "Navesi") then
{
var weapontype weapon
var weaponname tyrium axe
}
if_1 then var pvptarget %1
else var pvptarget $pvptarget
if_1 then
{
if (("%1" = "s") || ("%1" = "sa") || ("%1" = "sax") || ("%1" = "saxe")) then
{
var weapontype weapon
var weaponname throwing axe
}
if (("%1" = "n") || ("%1" = "na") || ("%1" = "nax") || ("%1" = "naxe")) then
{
var weapontype weapon
var weaponname tyrium axe
}
if (("%1" = "i") || ("%1" = "ic") || ("%1" = "ici") || ("%1" = "icic") || ("%1" = "icicl") || ("%1" = "icicle")) then
{
var weapontype weapon
var weaponname blued icicle
}
if (("%1" = "b") || ("%1" = "bl") || ("%1" = "bla") || ("%1" = "blad") || ("%1" = "blade") || ("%1" = "blades")) then
{
var weapontype weapon
var weaponname blades
}
}
if !matchre("$righthand", "%weaponname") then gosub STOWALL
MAINLOOP:
if ("%weapontype" = "elemental") then gosub SUMMONWEAPON %weaponname
if ("%weapontype" = "weapon") then
{
if !matchre("$righthand", "%weaponname") then gosub GETITEM %weaponname
}
gosub ATTACKHURLPVP
goto MAINLOOP
ATTACKHURLPVPP:
pause
ATTACKHURLPVP:
matchre FACE at what are you
matchre RETURN There is nothing else to face!
matchre ATTACKHURLPVPP %waitstring
matchre RETURN Roundtime|What are you trying to|You must hold the|I could not find what you were referring to\.
matchre THROWSTOW You need a free hand to
put hurl %pvptarget
matchwait 5
var timeoutsub ATTACKHURLPVP
var timeoutcommand hurl
goto TIMEOUT