can i get some help plz
my first script isnt working and im a noob to scar scripting 
if anyone can help w/o completely flaming me that would be great 
its probably totally flawed all over
sorry i tried
SCAR Code:
program UltimateAutoTalker;
const
//////////////////////////////////setup/////////////////////////////////////////
v = 0 //dont touch plz!!!!
NameOfTask: 'mining'; //what task do you want to auto talk for?NO CAPS(mining,fighting,woodcutting?)
WcLevel : 1; //Woodcutting level (If you chose woodcutting for NameOfTask)
MinLevel : 1; //your mining level(If you chose mining for NameOfTask)
{************Dont Touch Below Unless You Are Experienced Plz*******************}
procedure MiningTalk;
begin
if inchatmulti('ininglvl, lvl?, ?, inin, ining, level, levels') then typesend('mines '+MinLevel' you?')
Wait(1100+Random(550))
typesend('Oh cool, im just getting super bored mining')
end;
procedure WoodcuttingTalk;
begin
if inchatmulti('Wc, level, ood, utting, lvl, ?') then typesend(WcLevel)
end;
procedure FightingTalk;
begin
if inchatmulti('ey, ello, i, o, yo, sup, up') then typesend('shhhhhhhh stop talking')
end;
begin
repeat
if NameOfTask=('mining') then MiningTalk
end;
if NameOfTask=('woodcutting') then WoodcuttingTalk
end;
if NameOfTask=('fighting') then FightingTalk
end;
until z=8
end.
ty 
~yurmomsmom9