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
addhook("say","change_difficulty_bot")
	function change_difficulty_bot(id,txt)
	if (txt=="!bot_skill 0") then
		parse ('bot_weapons 1')
		parse ('mp_wpndmg knife 0')
		parse ("speedmod -50")
	end
	if (txt=="!bot_skill 1") then
		parse ('bot_weapons 2')
		parse ('mp_wpndmg knife 45')
		parse ("speedmod -10")
	end
	if (txt=="!bot_skill 2") then
		parse ('bot_weapons 0')
		parse ('mp_wpndmg knife 45')
		parse ("speedmod 0")
	end
	if (txt=="!bot_skill 3") then
		parse ('bot_weapons 0')
		parse ('mp_wpndmg knife 45')
		parse ("speedmod 110")
	end
	if (txt=="!bot_skill 4") then
		parse ('bot_weapons 6')
		parse ('mp_wpndmg knife 45')
		parse ("speedmod 150")
	end
end