08-28-2023, 04:35 PM
; This is to double click the botname in ADIIRC to receive the file:
on *:HOTLINK:*Zombie-*:*:{
if ($hotlink(event) == dclick) {
tokenize 32 $hotline
var %a $strip($1-)
;New Release
if ( $gettok(%a,12,32) == /msg ) { /msg $gettok(%a,13,32) xdcc send $gettok(%a,16,32) }
;Search Response
if ( $gettok(%a,8,32) == /msg ) { $remove($gettok(%a,8-,32),$Chr(41)) }
}
}
on *:HOTLINK:*Zombie-*:*:{
if ($hotlink(event) == dclick) {
tokenize 32 $hotline
var %a $strip($1-)
;New Release
if ( $gettok(%a,12,32) == /msg ) { /msg $gettok(%a,13,32) xdcc send $gettok(%a,16,32) }
;Search Response
if ( $gettok(%a,8,32) == /msg ) { $remove($gettok(%a,8-,32),$Chr(41)) }
}
}