if sel==1 then
setskin(id,gfx/newskins/01.bmp)
elseif sel==2 then
setskin(id,gfx/newskins/02.bmp)
else
setskin(id,gfx/newskins/03.bmp)
and use it for example when choosing a class in script. can make mods and scripts more interesting without editing original skin files