My second problem is that the nohat option (buton==9) doesn't work; the hat still stays on.
I'm not really sure if these are actual bugs or anything but if there's a way to 'solve' these then I'd really appreciate it.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
if title=="Hats" then if buton==1 then freeimage(id) id=image("gfx/hats/armor.bmp",1,1,200+id) elseif buton==2 then freeimage(id) id=image("gfx/hats/blackdragon.png",1,1,200+id) elseif buton==3 then freeimage(id) id=image("gfx/hats/fire.png",1,1,200+id) elseif buton==4 then freeimage(id) id=image("gfx/hats/phoenix.png",1,1,200+id) elseif buton==5 then freeimage(id) id=image("gfx/hats/pinocchio.png",1,1,200+id) elseif buton==6 then freeimage(id) id=image("gfx/hats/sonic.png",1,1,200+id) elseif buton==7 then freeimage(id) id=image("gfx/hats/spikes.png",1,1,200+id) elseif buton==8 then freeimage(id) id=image("gfx/hats/wizard.png",1,1,200+id) elseif buton==9 then freeimage(id) end end
*Note*: This has been made using other scripts but only for educational purposes in the areas of scripting.