Get the return of a RunString

I know this may look like a stupid question, but there’s any way of getting the return of a RunString or run a code(as string) and get the return?
the return would be errors, etc…

Use http://wiki.garrysmod.com/page/Global/CompileString and http://wiki.garrysmod.com/page/Global/pcall

Thanks, worked perfectly!