After the command is executed (amx_bdoomsday (user))
The banned.wad will be played and a say (message) will be executed in "SERVER" console and after 10 sec the user will be banned (amx_addban (user) 0)
I come back after 4 months and my brain is empty

.
Please help me with this code. Anyone?
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("Ban till doomsday","1.0","AtomiC")
register_concmd("amx_bdoomsday","timer",ADMIN_BAN,"Perm bans the player")
}
public timer(id, level, cid) { //help
set_task(10.0,"theban")
client_cmd(0,"spk misc/banned.wav")
server_cmd ("say (user) is getting banned till doomsday")
return PLUGIN_HANDLED
}
public dday(id) {
if (!(get_user_flags(id)&ADMIN_BAN)) {
return PLUGIN_HANDLED
}
if (read_argc() == 0) {
console_print(id,"amx_bdoomsday 'user'")
return PLUGIN_HANDLED
}
new user[32], uid
read_argv(1,user,32)
uid = find_player("bh",user)
if (uid == 0) {
console_print(id,"Invalid User Id")
return PLUGIN_HANDLED
}
get_user_authid (uid) //HELP MEEEEEEEEEEEEEEE
server_cmd ("amx_addban %s 0")
client_cmd ("disconnect")
return PLUGIN_CONTINUE
}
public plugin_precache() // God sake i sux
{
precache_sound("misc/banned.wav")
return PLUGIN_CONTINUE
}