rendered paste body#ESEABot Support Ticket Hotlink Generator
#
#For hotlinking support #'s to .accept #
#
#By Dan Snider - phatrabbit
on ^1:hotlink:*:#esea.ss:{
var %a New ticket opened
if ($remove($1,$chr(40),$chr(41)) isnum) {
if (%a isin $hotline) {
return
}
}
if ($1 isnum) {
if (*Helper* iswm $hotline) && (*None* iswm $hotline) {
return
}
if (*Helper* iswm $hotline) && ($nick isin $hotline) {
set %phatrabbit.hotlink closeit
return
}
}
halt
}
on 1:hotlink:*:#esea.ss:{
if (%phatrabbit.hotlink == closeit) { unset %phatrabbit.hotlink | msg $chan .close $remove($1,$chr(40),$chr(41)) | halt }
msg $chan .accept $remove($1,$chr(40),$chr(41))
}