|
|
@ -81,12 +81,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
<![CDATA[
|
|
|
|
<![CDATA[
|
|
|
|
require 'tprint'
|
|
|
|
require 'gmcphelper'
|
|
|
|
checkNames = {}
|
|
|
|
checkNames = {}
|
|
|
|
TSROutput = {}
|
|
|
|
TSROutput = {}
|
|
|
|
dirTemp = {}
|
|
|
|
dirTemp = {}
|
|
|
|
|
|
|
|
|
|
|
|
function scanMobs(name, line, wildcards)
|
|
|
|
function scanMobs(name, line, wildcards)
|
|
|
|
|
|
|
|
scanCmd = (gmcp("char.status.state") == "8" and "survey") or "scan"
|
|
|
|
|
|
|
|
|
|
|
|
if #wildcards[1] > 0 then
|
|
|
|
if #wildcards[1] > 0 then
|
|
|
|
checkNames = {}
|
|
|
|
checkNames = {}
|
|
|
|
for word in wildcards[1]:gmatch("%w+") do
|
|
|
|
for word in wildcards[1]:gmatch("%w+") do
|
|
|
@ -100,7 +102,7 @@ function scanMobs(name, line, wildcards)
|
|
|
|
ColourNote("white", "black", "No mobs to scan for, executing regular scan.")
|
|
|
|
ColourNote("white", "black", "No mobs to scan for, executing regular scan.")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
Send("scan")
|
|
|
|
Send(scanCmd)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function scannedDir(name, line, wildcards)
|
|
|
|
function scannedDir(name, line, wildcards)
|
|
|
|