1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
d = 50
for i = 1, d do
	if player(1,'exists') then
		if player(1,'team')==1 then
			if player(1,'health')>0 then
				if player(1,'health')<50 then
					msg2(1,'this is a nice piece of new generation style code')
				end
			var = 'kids are stupid'
			end
		parse('restart')
		end
	msg(var)
	end
return
end
@
Quattro:
you missed the
do after the
for-statement (line 2)
this code will throw an error message, if player 1 is dead and it is executed, because the variable
var is unknown.
But why do you use a
for-Loop, in this case it is pointless.
please tab your code
@
phalenkO:
you get the error-message because your message wasn't "!kick <id>"
remove the
else-statement to avoid this