I made (tryed to make) my first script ever today. And of course it dont work

. I made a command that allows me to change other peoples name, but it errors when i try to compile it. Can somebody fix it or tell me what i did wrong? I just used a help file, which showed a change hp command. And i tryed to change it to change name instead... Here it is:
Code:
#include <amxmodx>
#include <amxmisc>
new PLUGIN[]="Change Name"
new AUTHOR[]="XunTric"
new VERSION[]="1.0"
public plugin_init()
{
register_plugin(Change Name, 1.0, XunTric)
register_concmd("amx_name", "cmd_name", ADMIN_SLAY, " ")
}
public cmd_hp(id, level, cid)
{
if (!cmd_acces(id, level, cid, 3))
return PLUGIN_HANDLED
new Arg1[24]
new Arf2[4]
read_argv(1, Arg1, 23)
read_argv(2, Arg2, 3)
new Name = str_to_num (Arg2)
if (arg[0] == '@')
{
new Team = 0
if (equali(arg[1], "CT))
{
Team = 2
} else if (equali(Arg1[1], "T)) {
Team = 1
}
new players[32}, num
get_players(players, num)
new i
for (i=0; 1<num; 1++)
{
if (!Team)
{
set_user_name(players[i], Name)
} else {
if (get_user_team(players[i]) == Team)
{
set_user_name(players[i], Name)
}
}
}
} else {
new player = cmd_target(id, arg1, 1)
if (!player)
{
console_print (id, ""Sorry, player %s could not be found or targetted!", Arg1)
retrun PLUGIN_HANDLED
} else {
set_user_name(player, Name)
}
return PLUGIN_HANDLED
}