- on *:text:!request *:#needmanager!: {
- set %request. $+ $gettok($2,1,44) $nick
- join $gettok($2,1,44)
- }
- raw 366:*: {
- if (%request. [ $+ [ $2 ] ]) {
- if ($nick($2,0) < 20) {
- mode +m $chan
- timer1 1 3 msg %request. [ $+ [ $2 ] ] Cheking if the chan has 20 users...
- timer2 1 6 msg %request. [ $+ [ $2 ] ] Your request has been 4denied 1you dont have 20 users in $2
- timer3 1 9 part $2 Request denied #needmanager!
- timer4 1 12 mode -m $chan
- }
- elseif (%request. [ $+ [ $2 ] ] !isop $2) {
- mode $chan +m
- timer5 1 3 msg %request. [ $+ [ $2 ] ] Cheking if you have op on $2
- timer6 1 6 msg %request. [ $+ [ $2 ] ] Your request has been 4denied 1You don't have op in $2
- timer7 1 9 part $2 Request denied #needmanager!
- timer8 1 12 mode $chan -m
- }
- elseif (Q !ison $2) && (L !ison $2) {
- mode $chan +m
- timer9 1 3 msg %request. [ $+ [ $2 ] ] Cheking if the chan has 20 users...
- timer10 1 6 msg %request. [ $+ [ $2 ] ] 9Passed 1chan has 20 users
- timer11 1 9 msg %request. [ $+ [ $2 ] ] Cheking if you have op on $2...
- timer12 1 12 msg %request. [ $+ [ $2 ] ] 9Passed 1You have op on chan
- timer13 1 15 msg %request. [ $+ [ $2 ] ] Cheking if you have L,Q on your chan...
- timer14 1 18 msg %request. [ $+ [ $2 ] ] Your request has been 4denied 1 There is no L,Q on $2
- timer15 1 21 part $2 Request denied #needmanager!
- timer16 1 24 mode $chan -m
- }
- elseif (S ison $2) {
- mode $chan +m
- timer17 1 3 msg %request. [ $+ [ $2 ] ] Cheking if the chan has 20 users...
- timer18 1 6 msg %request. [ $+ [ $2 ] ] 9Passed 1chan has 20 users
- timer19 1 9 msg %request. [ $+ [ $2 ] ] Cheking if you have op on $2...
- timer20 1 12 msg %request. [ $+ [ $2 ] ] 9Passed 1You have op on chan
- timer21 1 15 msg %request. [ $+ [ $2 ] ] Cheking if you have L,Q on your chan...
- timer22 1 18 msg %request. [ $+ [ $2 ] ] 9Passed 1 You have L,Q on your chan
- timer23 1 21 msg %request. [ $+ [ $2 ] ] Cheking if you have S on your chan...
- timer24 1 24 msg %request. [ $+ [ $2 ] ] You request has been 4denied 1You have S on your chan.
- timer25 1 27 part $2 Request denied #needmanager!
- timer26 1 30 mode $chan -m
- }
- else {
- mode $chan +m
- timer27 1 3 msg %request. [ $+ [ $2 ] ] Cheking if your chan has 20 users...
- timer28 1 6 msg %request. [ $+ [ $2 ] ] 9Passed 1Chan has 20 users
- timer29 1 9 msg %request. [ $+ [ $2 ] ] Cheking if you have op on $2...
- timer30 1 12 msg %request. [ $+ [ $2 ] ] 9Passed 1You have op on $2
- timer31 1 15 msg %request. [ $+ [ $2 ] ] Cheking if you have L,Q on your chan...
- timer32 1 18 msg %request. [ $+ [ $2 ] ] 9Passed 1You have L,Q on your chan
- timer33 1 21 msg %request. [ $+ [ $2 ] ] Cheking if you have S on your chan...
- timer34 1 24 msg %request. [ $+ [ $2 ] ] 9Passed 1 You don't have S on your chan
- timer35 1 27 msg %request. [ $+ [ $2 ] ] Your request has been 9accepted 1adding relay now
- timer36 1 30 msg N-M|relay1 addchannel $2
- timer37 1 33 part $2 request granted #needmanager!
- timer38 1 36 mode $chan -m
- }
- unset %request. $+ $2
- }
- }
Undefined
By: lolieboillie | Date: Dec 9 2006 20:29 | Format: None | Expires: never | Size: 3.28 KB | Hits: 1266
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago