hehe, I see your problem... I'll just rewrite the code for you:P
#Method CardSelector()
{
#SetImage("/cards/CardSelectionWindow.bmp",75,10,200,400)
#ty!=ty!+3
#sltnum!=1
***SETS CARD TEXT***
#If (dragonC!>=1)
{
#Text(10,ty!,"Dragon <dragonC!>")
#ty!=ty!+1
#slot[sltnum!]$=Dragon
#sltnum!=sltnum!+1
}
#If (snakeC!>=1)
{
#Text(10,ty!,"Snake <snakeC!>")
#ty!=ty!+1
#slot[sltnum!]$=Snake
#sltnum!=sltnum!+1
}
#If (helmC!>=1)
{
#Text(10,ty!,"Helm <helmC!>")
#ty!=ty!+1
#slot[sltnum!]$=Helm
#sltnum!=sltnum!+1
}
#CImage1$="/cards/"+slot[1]$+".bmp"
#SetImage(CImage1$,300,25,80,96)
#WaitPress()
}
Havent tested, but I assume it works...