Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:~av-on:#: {
- if ($nick == Rakke) {
- set %avchannel $addtok(%avchannel,$chan,44)
- set %avoice $addtok(%avoice,$chan,44)
- msg $chan 4Auto Voice is now on for $chan
- }
- else {
- notice4 $nick u must be owner.
- }
- }
- on *:TEXT:~av-off:#: {
- if ($nick == Rakke) {
- set %avchannel $remtok(%avchannel,$chan,1,44)
- set %avoice $remtok(%avoice,$chan,1,44)
- msg $chan 4Auto Voice is now off for $chan
- }
- else {
- notice4 $nick u must be owner(again).
- }
- }
- on *:JOIN:%avchannel:{
- if (%avoice) {
- .timer 1 1 statuscheck $nick $chan
- }
- }
- alias statuscheck {
- if $nick($2,$1,a,ohv) {
- .notice $1 Voicing Now.
- mode $2 +v $1
- }
- else {
- .notice $1 Voicing Cancelled.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement