18.07.2010, 14:33
Code:
internalbind command sbnc_delme
proc sbnc_delme {client params} {
if {[string tolower [lindex $params 0]] == "delme"} {
if {[bnccheckpassword $client [lindex $params 1]]} {
delbncuser $client
haltoutput
return
}
bncreply "To delete your Bouncer, enter"
bncreply "/sbnc delme \[PASSWORD\]"
haltoutput
return
} elseif {[string tolower [lindex $params 0]] == "help"} {
bncaddcommand delme User "Deletes your Bouncer" ""
}
}