Posted by
| Nick Gammon
Australia (22,973 posts) bio
Forum Administrator |
Message
| A simpler approach is to not use a lengthy string in the first place. Like this:
<aliases>
<alias
match="players_equipment"
enabled="y"
regexp="y"
send_to="12"
ignore_case="y"
sequence="100"
>
<send>
PC_Equipments =
{
"an eye of a Kraken",
"a ring of wizardry",
"the ring of the serpent",
"the Overlord's necklace of protection",
"a holy symbol of Ithrilis",
"a set of overlord armor",
"the leggings of an elder dragon",
"a pair of golden-spurred boots",
"the lieutenant's gauntlets",
"a pair of green dragonscale sleeves",
"a battered iron shield",
"Yourban's soul",
"a spectral aura",
"the belt of the master craftsman",
"a magical belt pouch",
"a bracelet set with white moonstones",
"a bracelet of the elements",
"an Eldmarian Slayer",
}
require "wait"
wait.make (function ()
Send ("remove all")
for k, v in ipairs (PC_Equipments) do
Send ("wear ", v)
wait.time (1)
end -- for
end) -- function
</send>
</alias>
</aliases>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|