If I understand you correctly, you're trying to tile a texture inside a layered material from the main material. You could do that like this http://fc06.deviantart.net/fs71/f/2014/115/f/6/untitled_1_by_skate54-d7fvuyn.png
You're welcome, glad I could help :) Be careful when connecting the texture to the ao slot because it asks you for an (S) value (which I believe means scalar), not a (V3) (which I also believe means vector3). Because of that, you should only connect one channel,(for example the red channel, doesn't matter really since…