• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Print and create table with IDs of unnamed items (good for example; after update)

Iranimes

Lua Zawodowiec
Joined
Jul 10, 2012
Messages
717
Reaction score
12
script:


Lua:
function Seminari_FinderUnnamedItems(a, b)
	log_tbl = {}
	nasz_log = "Missing name of items with id: {"
	for i=a, b do
		if not(getItemNameById(i) ~= nil) then
			print('No name for item with id: '.. i ..'')
			nasz_log = nasz_log .. ", ".. i ..""
			table.insert(log_tbl, i)
		end
	end
	print(nasz_log)
	return log_tbl
end
 
Umm, wouldn't there be more coding needed for this to work, and on a website.... but something like this would be nice, it could go threw find items w/o name, find gif for it and display, GREAT admin tool..
 
Back
Top