putting this in causes a compilation error with
itemdb.cpp:3830:9: error: ‘itemdb’ was not declared in this scope; did you mean ‘item_db’?
3830 | itemdb->foreach(itemdb, itemdb_searchlook, data, &item, NULL);
| ^~~~~~
| item_db
trying that item_db doesn't have a foreach property and nothing else passed into the method does. I am on the latest rathena. Just want to see if I can get this to work since it looks like a cool idea.