do local oldprint = print function print(s) still be used if s == "foo" then oldprint("bar") else oldprint(s) end end end