well, there is a way better to remove guild penalty without breaking fgw but i'm not gonna share it.
however, here is another good way.
make a new return scroll and add this query in _AddLogItem
PHP Code:
if @Operation = 41 and @ItemRefID = id of the new return scroll in _RefObjCommon
begin
DELETE FROM SRO_VT_SHARD.dbo._TimedJob WHERE CharID = @CharID and JobID = 1 and Category = 2
end
then add this scroll for 1gold. so people will get it for free