Update compat.lua

string.explode, table.find and two compats to make script conversion easier