- on *:TEXT:PERMBAN*:?:{
- if ($readini(databaseglobal.ini,owner,$address($nick,2)) == owner) || ($readini(databaseusers.ini,users,$address($nick,2)) == master) || ($readini(databaseusers.ini,users,$address($nick,2)) == owner) {
- if ($2 == help) {
- Notice $nick Permban allows you to ban a user permanatly from your channel.
- notice $nick Usage : /msg $me permban <channel> <nick>
- close -m $nick
- }
- else {
- if (!$3) {
- notice $nick forgot to type a nickname
- close -m $nick
- }
- else {
- if ($chr(35) isin $2) {
- writeini database/banlist.ini permbans $2 $address($3,2)
- notice $nick $3 has been permanent banned in the channel $2
- ban $2 $3 You have been PERM. BANNED from this channel!!!
- close -m $nick
- }
- else {
- notice $nick Permban : not enough parameters
- notice $nick Try /msg $me Permban help for info
- close -m $nick
- }
- }
- }
- }
- else {
- notice $nick You don't have acces to this command
- }
- }
Undefined
By: checkum | Date: Dec 19 2006 16:02 | Format: None | Expires: never | Size: 1.08 KB | Hits: 1463
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago