I’ve created my own command, zprint that also allows me to filter what I want to see.
example: zprint(“A”,“Print this to the console”)
function zprint(whatToPrint,textToPrint.)
local listToPrint="Asm". --A=main subroutine announcement, s=sound code, m=music code, etc...
if string.find(listToPrint, whatToPrint,1,true) then
print("||||"..alphaNumberPrintCategory.."|"..tostring(textToPrint), ...)
end
end
You will also notice that the print statement includes |||| at the start of every line. Accordingly, you can put the |||| into the console search and it will only show print statements from the zprint routine. I find this simple routine makes it easier to debug code specific to a particular function, too. Good luck!