- on *:TEXT:PERMBAN*:?:{
- /echo haha
- var %hpd = $readini(database/global.ini,owner,$address($nick,2) == owner)
- var %hpm = $readini(database/users.ini,users,$address($nick,2) == master)
- var %hpl = $readini(database/users.ini,users,$address($nick,2) == owner)
- if ($2) && (!$3) {
- /echo hahahoehoe
- if (m !isin %hpm) || (m !isin %hpl) || (m !isin %hpd) {
- /echo haha4
- notice $nick You don't have acces to this command
- }
- else notice $nick forgot to type a nickname
- }
- elseif ($3) {
- /echo hahalala
- if (m isin %hpm) || (m isin %hpl) || (m isin %hpd) {
- /echo haha6
- writeini database/banlist.ini permbans $2 $address($3,2)
- notice $nick $3 Has been perm. banned in the channel $2
- ban $3 $2 You have been PERM. BANNED from this channel!!!
- }
- elseif ($2 == HELP) {
- /echo help
- Notice $nick Permban allows you to ban a user permanatly from your channel.
- notice $nick Usage : /msg $me permban <nick> <channel>
- }
- elseif (!$2) {
- /echo lol
- notice $nick Permban : not enough parameters
- notice $nick Try /msg $me Permban help for info
- }
- close -m $nick
- }
- }
- }
Undefined
By: gsdg | Date: Dec 19 2006 13:51 | Format: None | Expires: never | Size: 1.17 KB | Hits: 1409
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago