Is there a rule against giving people code? If not then you should stop saying that every time someone asks for code, atleast try to help and give them links to places they can learn from. Correction: "We minus Chinoto" 
Point this expression at an entity to get it's model and class.
Code:
@outputs Model:string
interval(50)
E=ranger(1000):entity()
Model=E:model()
Class=E:type()
This one will spam the models of all found entities in console when you give Print a value not equal to 0.
Code:
@inputs Print
@persist T Printing
interval(50)
if (findCanQuery()) {
findByClass("npc*") #finds all entities of the specified class, replace npc with the class found using the other expression
findClipToSphere(entity():pos(),2048) #Returns only entities within 2048 units of E2
List=findToArray() #Puts the entities in an array
}
if (Print&~Print) {Printing=1} #Start spamming if print has been pressed
if (Printing) {
concmd("echo "+toString(T+1)+": "+List:entity(T+1):model()) #Spam console with models
T=(T+1)%max(1,List:count) #Increment T so all entities will get listed
if (T==0) {Printing=0} #Stop spamming when all entities are spammed
}
Put "wire_expression2_concmd 1" in console before using.
Bookmarks