drawthow
Well-known member
- Joined
- Sep 8, 2019
- RedCents
- 2,081¢
Thank you that did it.I think find is case sensative. Did you try "^.*Ore" instead?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Thank you that did it.I think find is case sensative. Did you try "^.*Ore" instead?
Sorry I posted the wrong code for the example. I'm trying to group items but the type of trade skill that used them. For example I'm trying to group all tailoring items in one group.Code:name = "Items with Diamond in their name'", filter = function(item) return item.Name():find("diamond") ~= nil end, },
Tried that nothing in the extra list shows up when using an or or and andI haven't done it before did you try an or statement?
Code:return item.Name():find("Skin") ~= nil or item.Name():find("Pelt") ~= nil
Ok I’ll mess with it today and makes some if statements to see if I can get it to work.Tried that nothing in the extra list shows up when using an or or and and
local function findParcelVendor()
status = "Finding Nearest Parcel Vendor"
local parcelSpawns = mq.getFilteredSpawns(function(spawn)
return (string.find(spawn.Surname(), "Parcel") ~= nil) or
(string.find(spawn.Surname(), "Parcel Services") ~= nil) or
(string.find(spawn.Name(), "Postmaster") ~= nil) or
(string.find(spawn.Name(), "A_Vendor_of_Reagents") ~= nil) or
(string.find(spawn.Name(), "Hyredel") ~= nil)
end)
{
name = "Poison TS Items",
filter = function(item)
return item.Name():find("Caladium") ~= nil or item.Name():find("Laburnum") ~= nil or item.Name():find("Larkspur") ~= nil or item.Name():find("Muscimol") ~= nil or item.Name():find("Oleander") ~= nil
end,
},
Sweet thank you very muchHere is your example for your multiple items in the parcel_scources.lua.
Code:{ name = "Poison TS Items", filter = function(item) return item.Name():find("Caladium") ~= nil or item.Name():find("Laburnum") ~= nil or item.Name():find("Larkspur") ~= nil or item.Name():find("Muscimol") ~= nil or item.Name():find("Oleander") ~= nil end, },
That looks pretty cool Burd!! NiceHere is your example for your multiple items in the parcel_scources.lua.
Code:{ name = "Poison TS Items", filter = function(item) return item.Name():find("Caladium") ~= nil or item.Name():find("Laburnum") ~= nil or item.Name():find("Larkspur") ~= nil or item.Name():find("Muscimol") ~= nil or item.Name():find("Oleander") ~= nil end, },
local parcelSpawns = mq.getFilteredSpawns(function(spawn)
return (string.find(spawn.Surname(), "Parcel") ~= nil) or
(string.find(spawn.Surname(), "Parcel Services") ~= nil) or
(string.find(spawn.Name(), "Postmaster") ~= nil) or
(string.find(spawn.Name(), "A_Vendor_of_Reagents") ~= nil) or
(string.find(spawn.Name(), "Marius_Carver") ~= nil) or
(string.find(spawn.Name(), "Hyredel") ~= nil)
end)
pushed. Feel free to PR in the future if you like.Can we add the new parcel vendor in Hostock Hills to the list you have. I was able to add it to my copy, but figure others can probably use the change.
Code:local parcelSpawns = mq.getFilteredSpawns(function(spawn) return (string.find(spawn.Surname(), "Parcel") ~= nil) or (string.find(spawn.Surname(), "Parcel Services") ~= nil) or (string.find(spawn.Name(), "Postmaster") ~= nil) or (string.find(spawn.Name(), "A_Vendor_of_Reagents") ~= nil) or (string.find(spawn.Name(), "Marius_Carver") ~= nil) or (string.find(spawn.Name(), "Hyredel") ~= nil) end)
[release-v39] - 2025-01-02
Commits
(bcd9985) ~DerpleAdded new parcel guy from exp. Credit: Nightmare327
I really need to learn how to do thatpushed. Feel free to PR in the future if you like.
Thanks!
Did you update to the version listed just above your post? Or read the three posts above it?Has anyone else had this issue? Keep getting the attached issue when trying to /parcel.
I've tried resetting the GUI settings under EQ Button > MQ and no luck.
Deleted folder, re-downloaded - working fine. Weird AF. Fixed tho!Has anyone else had this issue? Keep getting the attached issue when trying to /parcel.
I've tried resetting the GUI settings under EQ Button > MQ and no luck.
Sweet! Computers are weird.Deleted folder, re-downloaded - working fine. Weird AF. Fixed tho!
Just a few errors. Someone will fix them eventually.
This will let you do a /parcel Filtername NameofToon I use it to /dg all my TS to a mule.
Lua:mq.bind("/parcel", function(...) -- Use varargs (...) local args = {...} -- Capture all arguments into a table local arg_count = #args local filter_name_part local recipient_name_part if arg_count == 0 then -- No arguments: Toggle GUI openGUI = not openGUI return elseif arg_count == 1 then -- Single argument: Could be filter OR recipient. local single_arg = args[1] local is_known_filter = false -- Ensure sources are loaded before checking if #parcelInv.sendSources == 0 then parcelInv:createContainerInventory() end for _, sourceData in ipairs(parcelInv.sendSources) do if sourceData.name:lower() == single_arg:lower() then is_known_filter = true; break end end if is_known_filter then -- Recognized as a filter name filter_name_part = single_arg Output(string.format("\atOnly filter '\am%s\at' provided. Select recipient in GUI.", filter_name_part)) -- Update sourceIndex and load items to prepare GUI for i, sourceData in ipairs(parcelInv.sendSources) do if sourceData.name:lower() == filter_name_part:lower() then sourceIndex = i; parcelInv:getItems(sourceIndex); Output(string.format("\atSelected filter: \am%s\at. Items found: %d. GUI will open.", parcelInv.sendSources[sourceIndex].name, #parcelInv.items)) break end end else -- Treat as recipient if long enough if #single_arg >= 3 then recipient_name_part = single_arg Output(string.format("\atRecipient '\am%s\at' provided. Select filter in GUI.", recipient_name_part)) parcelTarget = recipient_name_part else Output("\aySingle argument '[\am%s\ay]' is too short or not recognized as filter/recipient. Opening GUI.", single_arg) -- Fall through to just open GUI end end openGUI = true -- Ensure GUI opens if only one arg was processed return elseif arg_count >= 2 then -- Multiple arguments: Assume first is filter, rest is recipient. filter_name_part = args[1] -- First argument is the filter name -- Reconstruct recipient name from args[2] onwards local recipient_parts = {} for i = 2, arg_count do table.insert(recipient_parts, args[i]) end recipient_name_part = table.concat(recipient_parts, " ") -- Validate recipient name if not recipient_name_part or #recipient_name_part < 3 then Output("\ayRecipient name '[\am%s\ay]' too short or invalid. Opening GUI.", recipient_name_part or "") openGUI = true; return end -- Validate filter name if not filter_name_part or #filter_name_part == 0 then Output("\ayFilter name appears empty. Opening GUI.") openGUI = true; return end -- --- Proceed with Parceling Initiation --- parcelTarget = recipient_name_part Output(string.format("\atAttempting parcel: Filter='\am%s\at', Target='\am%s\at'.", filter_name_part, parcelTarget)) local found_filter = false if #parcelInv.sendSources == 0 then parcelInv:createContainerInventory() end local filter_found_index = -1 for i, sourceData in ipairs(parcelInv.sendSources) do -- Case-insensitive comparison for filter name if sourceData.name:lower() == filter_name_part:lower() then filter_found_index = i; found_filter = true; break end end if not found_filter then Output(string.format("\arFilter '\am%s\ar' not found. Available filters:", filter_name_part)) for i, sourceData in ipairs(parcelInv.sendSources) do Output(string.format("\ay - %s", sourceData.name)) end openGUI = true; return end -- Filter found, load items sourceIndex = filter_found_index parcelInv:getItems(sourceIndex) Output(string.format("\atSelected filter: \am%s\at. Items found: %d", parcelInv.sendSources[sourceIndex].name, #parcelInv.items)) if #parcelInv.items == 0 then Output(string.format("\ayNo items found for filter '\am%s\ay'. Opening GUI.", filter_name_part)) openGUI = true; return end -- Initiate parceling process startParcel = true; openGUI = true; mq.cmdf("/nav stop"); parcelInv:resetState(); findParcelVendor() Output("\agParceling initiated via command for target: \am%s\ag with filter: \am%s\ag.", parcelTarget, filter_name_part) -- --- End Parceling Initiation --- end end)
[release-v43] - 2025-06-13
Commits
(5308648) ~Derple- Added some crash guards and colorized the sending clouds.

if ImGui.SmallButton("Recheck Nearest") then
findParcelVendor()
end
ImGui.SameLine()
if ImGui.SmallButton("Exit Parcel") then
mq.cmd('/lua stop parcel')
end
local openGUI = true
local shouldDrawGUI = true
Laz has a 30 second delay between sending parcels.Hi, does this not work on EMU servers? it sends first item then trys sending the next , parcel dude says give me chance and doesnt seem try again?
While the resource is listed for Live, TLP and Test, EMU is not listed, I do use it on EMU. EMUs have different setups, not all are the same. Lag can also affect attempts? My EMU s Shelter of the Banned, plain server up to DoN, parcel guys do their thing, I just tested it to see if there was any issue with more than one item. List your EMU, maybe there is special coding there. Can also ask on that server if anyone is having parcel issues, could simply be something server side.Hi, does this not work on EMU servers? it sends first item then trys sending the next , parcel dude says give me chance and doesnt seem try again?
Hi, I am on project lazarus guess is some sort of delay on thereWhile the resource is listed for Live, TLP and Test, EMU is not listed, I do use it on EMU. EMUs have different setups, not all are the same. Lag can also affect attempts? My EMU s Shelter of the Banned, plain server up to DoN, parcel guys do their thing, I just tested it to see if there was any issue with more than one item. List your EMU, maybe there is special coding there. Can also ask on that server if anyone is having parcel issues, could simply be something server side.
I have not played on Live for ages is there no delay on live?Laz has a 30 second delay between sending parcels.
"EMU" is not really an accurate descriptor in this case. Many don't support parceling at all.
Edit: I guess this could be coded around?
