Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delbouncer.tcl - Allows users to delete their Bouncers.
Author Message
Kunsi Offline
Bastard Operator from Hell
*******

Posts: 68
Joined: May 2010
Reputation: 0
Post: #1
delbouncer.tcl - Allows users to delete their Bouncers.
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" ""
    }
}
(This post was last modified: 15.08.2010 10:00 by Kunsi.)
18.07.2010 14:33
kunsi1990 Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  floodprotection.tcl - Allows users to diable flood protection Kunsi 0 1,080 22.07.2010 17:09
Last Post: Kunsi

Forum Jump:


Contact Us | shroudBNC Home | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication