Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:.tv*:#:{
- if ($($+(%,botflood.,$nick),2)) {
- if ($($+(%,botflood.,$nick),2) >= 50) {
- ignore -u60 $address($nick,2)
- msg $chan $+($nick,$chr(44)) You have been put on ignore for 60secs for abusing the bot.
- halt
- }
- elseif ($($+(%,botflood.,$nick),2) >= 40) {
- msg $chan $+($nick,$chr(44)) Please do not flood the bot.
- inc -z $+(%,botflood.,$nick) 20
- halt
- }
- else {
- inc -z $+(%,botflood.,$nick) 25
- }
- }
- else {
- inc -z $+(%,botflood.,$nick) 25
- }
- if ($sock(tvrage)) { sockclose tvrage }
- if ($sock(tvrage2)) { sockclose tvrage2 }
- if ($sock(tvrage3)) { sockclose tvrage3 }
- if ($1 == .tv) {
- if (!$2) { .msg # .tv <show> - Get general show information (ie .tv criminalminds) }
- if ($2) {
- set %tvr.output info
- set %tvr.show $replace($2-,$chr(32),$chr(37) $+ 20)
- sockopen -n tvrage services.tvrage.com 80
- sockmark tvrage .msg #
- }
- }
- else halt
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement