Advertisement
Guest User

Sub Auto Responder Rough draft

a guest
Jun 21st, 2016
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.55 KB | None | 0 0
  1. on *:text:*:#: {
  2.   if ( $chan == #channame && $nick == twitchnotify && *just subscribed!* iswm $1-) {
  3.       msg # Thanks for the new sub $$1!
  4.   }
  5. }
  6.  
  7. raw USERNOTICE:*:{
  8.   if ($chan == #channame && ( $msgtags(msg-id).key == resub || $msgtags(msg-id).key == sub)) {
  9.     if (*subscribed\sto\s* iswm $msgtags(system-msg).key) {
  10.       msg # Thanks for the sub $msgtags(login).key!
  11.     }
  12.     if (*subscribed\sfor\s* iswm $msgtags(system-msg).key) {
  13.       msg # Thanks for the resub $msgtags(login).key $msgtags(msg-param-months).key month resub!
  14.     }
  15.   }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement