Advertisement
illpastethat

Tv show script zzbooze

Feb 14th, 2013
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.97 KB | None | 0 0
  1. on *:TEXT:.tv*:#:{
  2. if ($($+(%,botflood.,$nick),2)) {
  3.     if ($($+(%,botflood.,$nick),2) >= 50) {
  4.       ignore -u60 $address($nick,2)
  5.       msg $chan $+($nick,$chr(44)) You have been put on ignore for 60secs for abusing the bot.
  6.       halt
  7.     }
  8.     elseif ($($+(%,botflood.,$nick),2) >= 40) {
  9.       msg $chan $+($nick,$chr(44)) Please do not flood the bot.
  10.       inc -z $+(%,botflood.,$nick) 20
  11.       halt
  12.     }
  13.     else {
  14.       inc -z $+(%,botflood.,$nick) 25
  15.     }
  16.   }
  17.   else {
  18.     inc -z $+(%,botflood.,$nick) 25
  19.   }
  20.   if ($sock(tvrage)) { sockclose tvrage }
  21.   if ($sock(tvrage2)) { sockclose tvrage2 }
  22.   if ($sock(tvrage3)) { sockclose tvrage3 }
  23.   if ($1 == .tv) {
  24.     if (!$2) { .msg # .tv <show> - Get general show information (ie .tv criminalminds) }
  25.     if ($2) {
  26.       set %tvr.output info
  27.       set %tvr.show $replace($2-,$chr(32),$chr(37) $+ 20)
  28.       sockopen -n tvrage services.tvrage.com 80
  29.       sockmark tvrage .msg #
  30.     }
  31.   }
  32.   else halt
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement