- on *:TEXT:X18 *:#:{
- if ($2 == adduser) {
- if ($readini(bot.users.ini,$chan,$address($3,2)) == owner) {
- if ($3 == owner) {
- writeini bot.users.ini $chan $address($4,2) owner
- .timer 1 1 .notice $nick User added with hostmask: $address($4,2)
- .timer 1 2 .notice $nick You've been added to the bot with hostmask: $address($4,2)
- .timer 1 3 halt
- }
- if ($3 == master) {
- writeini bot.users.ini $chan $address($4,2) master
- .timer 1 1 .notice $nick User added with hostmask: $address($4,2)
- .timer 1 2 .notice $nick You've been added to the bot with hostmask: $address($4,2)
- .timer 1 3 halt
- }
- if ($3 == op) {
- writeini bot.users.ini $chan $address($4,2) op
- .timer 1 1 .notice $nick User added with hostmask: $address($4,2)
- .timer 1 2 .notice $nick You've been added to the bot with hostmask: $address($4,2)
- .timer 1 3 halt
- }
- .timer 1 1 .notice $nick Flags: owner $+ , master $+ , op
- .timer 1 2 .notice $nick Usage: X18 adduser <flag> <nick>
- .timer 1 3 .notice $nick Example: X18 adduser master fishbot
- .timer 1 4 halt
- }
- }
- }
- }
test for biggie
By: NG|xeoN | Date: Nov 20 2006 19:02 | Format: None | Expires: never | Size: 1.18 KB | Hits: 1412
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago