psyBNC Bot

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

psyBNC Bot

Postby capurro » Mon Jul 06, 2009 4:36 pm

I made this little bot for myself for my psyBNC , and its really helpful , It can
Adduser
deluser
kill
rehash the BNCs
change users passwords
Uptime
restart the BNC Bot.
Trigger change to do commands
Auth fills BNC bots pw.

You need to set %wildsite to the wildsite of the nick ur goin to use commands from , I use @host

You need to set %cmd for the first time and it will auto change its self by doin (Trigger)Trigger @ or w.e u want.

You need to set %owner to ur nick not the bots. M

And thats pretty simple, THis ONLY works for probly the newest versions of psyBNC


Code: Select all
on *:NOTICE:*:*:{ if ($nick == -psyBNC) { /quote pass PASS
  }
}
on *:TEXT:$( $+ %cmd $+ rehash*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    msg -psyBNC BREHASH
    notice $nick %skin1 Rehash %skin2 Reset all BNC connections %skin3
  }
  else {
    notice $nick %skin1 Adduser %skin2 Sorry you lack access to the $1 command. %skin3
  }
  if (%update) { unset %update }
  set %update $fulldate
}
on *:TEXT:$( $+ %cmd $+ adduser*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Adduser %skin2 You did not supply a username. %skin3 | halt }
    msg -psyBNC adduser $2-
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Adduser %skin2 Added user $2 to the BNC. %skin3
  }
  else {
    notice $nick %skin1 Adduser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:No Ident given. Syntax is ADDUSER*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Adduser %skin2 Sorry but that is the wrong Syntax , Please try again. %skin3 } }
on *:TEXT:User*already existing.:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Adduser %skin2 User $2 already exists on the BNC. %skin3 } }
on *:TEXT:New User*:?:{ if ($nick == -psyBNC) { notice %owner $1- }
}
on *:TEXT:$( $+ %cmd $+ deluser*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Deluser %skin2 You did not supply a user to delete. %skin3 | halt }
    msg -psybnc deluser $2
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Deluser %skin2 Deleted user $2 off the BNC. %skin3
  }
  else {
    notice $nick %skin1 Deluser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:User*not:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Deluser %skin2 User $2 was not found. %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ kill*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Kill %skin2 You did not provide a username to kill. %skin3 | halt }
    msg -psyBNC bkill $2
    set -u5 %_chan $chan
    set -u2 %_nick $2
    .timerdone 1 1 notice $nick %skin1 Kill %skin2 Killed $2 off the BNC. %skin3
  }
  else {
    notice $nick %skin1 Kill %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:User*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Kill %skin2 User %_nick was not found on the BNC. %skin3 } }
on *:TEXT:He*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Kill %skin2 User %_nick isnt online , Why whould you want to kill him? %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ restart):#:{
  if ($wildsite == %wildsite) {
    notice $nick %skin1 Restart %skin2 Restarting %skin3
    msg -psybnc bquit
    msg -psybnc bconnect
  }
  else {
    amsg %skin1 Restart %skin2 Sorry you lack access to the Spam command. %skin3
  }
}
alias eval {
  $eval($1-,1)
}
on *:TEXT:$( $+ %cmd $+ cmd*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    /eval $2-
  }
  else {
    notice $nick %skin1 cmd %skin2 You lack access to the $1 command. %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ commands):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  notice $nick %skin1 Commands %skin2 %commands %skin3
}
on *:TEXT:$( $+ %cmd $+ password*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Password %skin2 You did not supply a user (or) password. %skin3 | halt }
    msg -psybnc password $2-
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Password %skin2 Changed password for user $2 %skin3
  }
  else {
    notice $nick %skin1 Deluser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}

on *:TEXT:$( $+ %cmd $+ uptime):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  notice $nick %skin1 BNC Uptime %skin2 BNCs have been up for $uptime(mirc,1) since %update %skin3
}
on *:TEXT:$( $+ %cmd $+ trigger*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    set %cmd $2
    notice $nick %skin1 Trigger %skin2 Trigger successfully changed to $2 %skin3
  }
  else {
    notice $nick %skin1 Trigger %skin2 You lack access to the $1 command. %skin3
  }
}
on *:JOIN:#:{
  if ($wildsite == %wildsite) {
    msg $chan %skin1 ÒwÑê® %skin2 $nick is ÒwÑê® of $me %skin3
  }
}
capurro
 

Re: psyBNC Bot

Postby zNigel- » Mon Jul 06, 2009 5:15 pm

This script is defo. ripped...

Found it here..
http://scriptsurge.org/1069
zNigel-
 

Re: psyBNC Bot

Postby fraguk » Mon Jul 06, 2009 5:25 pm

capurro wrote:I made this little bot for myself for my psyBNC , and its really helpful , It can
Adduser
deluser
kill
rehash the BNCs
change users passwords
Uptime
restart the BNC Bot.
Trigger change to do commands
Auth fills BNC bots pw.

You need to set %wildsite to the wildsite of the nick ur goin to use commands from , I use @host

You need to set %cmd for the first time and it will auto change its self by doin (Trigger)Trigger @ or w.e u want.

You need to set %owner to ur nick not the bots. M

And thats pretty simple, THis ONLY works for probly the newest versions of psyBNC


Code: Select all
on *:NOTICE:*:*:{ if ($nick == -psyBNC) { /quote pass PASS
  }
}
on *:TEXT:$( $+ %cmd $+ rehash*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    msg -psyBNC BREHASH
    notice $nick %skin1 Rehash %skin2 Reset all BNC connections %skin3
  }
  else {
    notice $nick %skin1 Adduser %skin2 Sorry you lack access to the $1 command. %skin3
  }
  if (%update) { unset %update }
  set %update $fulldate
}
on *:TEXT:$( $+ %cmd $+ adduser*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Adduser %skin2 You did not supply a username. %skin3 | halt }
    msg -psyBNC adduser $2-
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Adduser %skin2 Added user $2 to the BNC. %skin3
  }
  else {
    notice $nick %skin1 Adduser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:No Ident given. Syntax is ADDUSER*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Adduser %skin2 Sorry but that is the wrong Syntax , Please try again. %skin3 } }
on *:TEXT:User*already existing.:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Adduser %skin2 User $2 already exists on the BNC. %skin3 } }
on *:TEXT:New User*:?:{ if ($nick == -psyBNC) { notice %owner $1- }
}
on *:TEXT:$( $+ %cmd $+ deluser*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Deluser %skin2 You did not supply a user to delete. %skin3 | halt }
    msg -psybnc deluser $2
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Deluser %skin2 Deleted user $2 off the BNC. %skin3
  }
  else {
    notice $nick %skin1 Deluser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:User*not:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Deluser %skin2 User $2 was not found. %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ kill*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Kill %skin2 You did not provide a username to kill. %skin3 | halt }
    msg -psyBNC bkill $2
    set -u5 %_chan $chan
    set -u2 %_nick $2
    .timerdone 1 1 notice $nick %skin1 Kill %skin2 Killed $2 off the BNC. %skin3
  }
  else {
    notice $nick %skin1 Kill %skin2 Sorry you lack access to the $1 command. %skin3
  }
}
on *:TEXT:User*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Kill %skin2 User %_nick was not found on the BNC. %skin3 } }
on *:TEXT:He*:?:{ if ($nick == -psyBNC) { .timerdone off | notice %owner %skin1 Kill %skin2 User %_nick isnt online , Why whould you want to kill him? %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ restart):#:{
  if ($wildsite == %wildsite) {
    notice $nick %skin1 Restart %skin2 Restarting %skin3
    msg -psybnc bquit
    msg -psybnc bconnect
  }
  else {
    amsg %skin1 Restart %skin2 Sorry you lack access to the Spam command. %skin3
  }
}
alias eval {
  $eval($1-,1)
}
on *:TEXT:$( $+ %cmd $+ cmd*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    /eval $2-
  }
  else {
    notice $nick %skin1 cmd %skin2 You lack access to the $1 command. %skin3
  }
}
on *:TEXT:$( $+ %cmd $+ commands):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  notice $nick %skin1 Commands %skin2 %commands %skin3
}
on *:TEXT:$( $+ %cmd $+ password*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    if (!$2) { .timerdone off | notice $nick %skin1 Password %skin2 You did not supply a user (or) password. %skin3 | halt }
    msg -psybnc password $2-
    set -u5 %_chan $chan
    .timerdone 1 1 notice $nick %skin1 Password %skin2 Changed password for user $2 %skin3
  }
  else {
    notice $nick %skin1 Deluser %skin2 Sorry you lack access to the $1 command. %skin3
  }
}

on *:TEXT:$( $+ %cmd $+ uptime):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  notice $nick %skin1 BNC Uptime %skin2 BNCs have been up for $uptime(mirc,1) since %update %skin3
}
on *:TEXT:$( $+ %cmd $+ trigger*):#:{
  if ($wildsite != %wildsite) {
    inc -u30 %spam. [ $+ [ $wildsite ] ]
    if (%spam. [ $+ [ $wildsite ] ] > 3) {
      ignore -u60 $wildsite
      msg $chan %skin1 Spam %skin2 You have been ignored for 60 seconds due to command flood. %skin3
      halt
    }
  }
  if ($wildsite == %wildsite) {
    set %cmd $2
    notice $nick %skin1 Trigger %skin2 Trigger successfully changed to $2 %skin3
  }
  else {
    notice $nick %skin1 Trigger %skin2 You lack access to the $1 command. %skin3
  }
}
on *:JOIN:#:{
  if ($wildsite == %wildsite) {
    msg $chan %skin1 ÒwÑê® %skin2 $nick is ÒwÑê® of $me %skin3
  }
}


this is now second time you have clamed to have made a script, witch you have not!
and heres the script witch you say you made, word for word the same, lol , ripped again!
PsyBNC Bot
Posted by Coins, Monday, May 07, 2007
http://scriptsurge.org/1069

ps, Sumsar, dont you think its time this user [ ripper] and his ip was banned from this forum :?:


http://scriptsurge.org/1069
fraguk
 

Re: psyBNC Bot

Postby zNigel- » Mon Jul 06, 2009 5:30 pm

fraguk wrote:
this is now second time you have clamed to have made a script, witch you have not!
and heres the script witch you say you made, word for word the same, lol , ripped again!
PsyBNC Bot
Posted by Coins, Monday, May 07, 2007
http://scriptsurge.org/1069

ps, Sumsar, dont you think its time this user [ ripper] and his ip was banned from this forum :?:


http://scriptsurge.org/1069


I totally agree.. He shouldn't be here on the forums. Can't even pick the correct section for the scripts ;x
zNigel-
 

Re: psyBNC Bot

Postby r0t3n » Mon Jul 06, 2009 5:35 pm

Its people like him who make me think twice about releasing my scripts

And its all those innocent users who lose out on the benefits of such scripts because of it
r0t3n
 

Re: psyBNC Bot

Postby PuNkTuReD » Sat Jul 11, 2009 12:21 pm

its sad that he puts so much time into ripping and he still gets it wrong.
PuNkTuReD
 

Re: psyBNC Bot

Postby zNigel- » Sat Jul 11, 2009 1:27 pm

PuNkTuReD wrote:its sad that he puts so much time into ripping and he still gets it wrong.



That's true.
zNigel-
 

Re: psyBNC Bot

Postby SilverRain » Thu Jul 23, 2009 10:08 am

I've found myself banned from all his channels due to exposing him stupidly ripping scripts, literally copy+paste into another forum and claiming it as his.

viewtopic.php?f=46&t=222 <- that says alot about capurro. He just can't be bothered his arse to learn MSL, either that or his mind can't handle trying to speak his own language and writing a computer one at the same time. Seriously Capurro, everyone (who codes/scripts/programs) hates script rippers. If you're going to post a script on here - ensure the ORIGINAL author is posted.

You're lucky you haven't ripped anything under the GPL or you'd be fucked. Grow up Capurro. And yes, I agree with zNigel + FragUK, I think he should be banned from this forum, and no help given to him until he learns to stop ripping scripts.

~Phil
SilverRain
 


Return to Mirc Scripting Request

Who is online

Users browsing this forum: No registered users and 0 guests

cron