- on *:text:chanlev*:?:{
- if ($chr(35) isin $2) {
- if (!$3) {
- if ($owner1) {
- .notice $nick Chanlev for channel $2
- var %i = 1
- while (%i <= $ini(database/channels.ini,$2,0)) {
- .notice $nick $+ $ini(database/channels.ini,$2,%i) Modes: + $+ $readini(database/channels.ini,$2,$ini(database/channels.ini,$2,%i))
- inc %i
- }
- .notice $nick End of list.
- .notice $nick Total: $ini(database/channels.ini,$2,0)
- close -m $nick
- halt
- }
- elseif (!$readini(database/hosts.ini,users,$address($nick,2))) {
- .notice $nick You are not authed.
- close -m $nick
- halt
- }
- else {
- if (!$readini(database/channels.ini,$2,$readini(database/hosts.ini,users,$address($nick,2)))) {
- .notice $nick You are not known or banned on this channel.
- close -m $nick
- halt
- }
- elseif (b isin $readini(database/channels.ini,$2,$readini(database/hosts.ini,users,$address($nick,2)))) {
- .notice $nick You are not known or banned on this channel.
- close -m $nick
- halt
- }
- else {
- .notice $nick Chanlev for channel $2
- var %i = 1
- while (%i <= $ini(database/channels.ini,$2,0)) {
- .notice $nick $+ $ini(database/channels.ini,$2,%i) Modes: + $+ $readini(database/channels.ini,$2,$ini(database/channels.ini,$2,%i))
- inc %i
- }
- .notice $nick End of list.
- .notice $nick Total: $ini(database/channels.ini,$2,0)
- close -m $nick
- halt
- }
- }
- }
- }
- }
Qbot chanlev
By: mike | Date: Aug 30 2006 14:46 | Format: None | Expires: never | Size: 1.64 KB | Hits: 1569
Latest pastes
51 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago