This is a dialog texture script. The way it works is by clicking the prim/mesh object with this script in it. Dump textures in the inventory with this script. Rename images after the commands in the script.
Click your prim/mesh object and click one of the commands. Texture then applies. Simple yet very effective. code can be expanded and modded as you like.
Script has full perms. Commands can be anything you want. I'd recommend naming your commands after your textures. This way you know exactly what texture will be applied to your prim or mesh object. I like more control over my textures. I don't like just any random texture being applies after dumping textures in. Instructions to setup and edit this code are in the DialogTextureSelect main script.