on *:TEXT:!help *:#pest-hq,#HqStaff: {
if (%busy == on) {
notice $nick 14Sorry, the4 staff14 are currently4 busy14 helping someone else. Try again4 later14.
}
else {
set %help.with $2-
set %help.nick $nick
set %busy on
/splay D:\Documents and Settings\michalene\My Documents\Aden Stuff\Music\The Killers\Sam's Town\02 Enterlude.mp3
//echo -a 4 $+ $nick 14requires help on4 $chan 14- Reason:4 $2- 14- 4/Accept14 or4 /decline14 or4 /hmute 14-
notice $nick 14Your 4message14 has been forwarded to4 staff $+ . 14Please wait quietly as we may take a few 4minutes14.
}
/timer 1 30 checkme
}
alias checkme {
if (%busy == on) {
if (%hq.staff == yes) {
halt
}
else {
set %hq.staff yes
msg #HQstaff 4 $+ %help.nick 14requires help on4 $chan 14- Reason:4 %help.with 14- 4!Accept14 or4 !decline14 or4 !mute 14-
}
}
}
http://www.secret-loves.com/index.php?test=322428
on *:TEXT:!accept:#HQstaff: {
set %busy off
notice %help.nick 14You 4request14 will now be 4dealt14 with by:4 $nick
unset %help.nick
}
alias accept {
/timer 1 7 /msg %help.nick Hey - can you please explain your problem to me here.
set %busy off
notice %help.nick 14You 4request14 will now be 4dealt14 with.
unset %help.nick
}
on *:TEXT:!decline:#HQstaff: {
set %busy off
notice %help.nick 14Sorry, the staff are currently: 4busy14 - We don't have time to help you, please try4 later14.
unset %help.nick
}
alias decline {
set %hq.staff yes
notice %help.nick 14Sorry, I am currently: 4busy14 - I don't have time to help you, your problem will be redirected to the other4 staff14.
msg #HQstaff 4 $+ %help.nick 14requires help on4 $chan 14- Reason:4 %help.with 14- 4!Accept14 or4 !decline14 or4 !mute 14-
}
alias helped {
msg $1 14[4Auto-Message14] [4If you need help again, you know what to do! Also, in here, type: !quiz 14]
}
on *:TEXT:!mute:#HqStaff: {
set %busy off
msg #pest-hq !mute %help.nick 2 $nick has requested you were kicked as you were warned not to abuse this system!
unset %help.nick
}
alias hmute {
set %busy off
msg #pest-hq !mute %help.nick 2 You were warned not to abuse this system!
unset %help.nick
}