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 reset script
- n3= echo -at No new variables added, all are global
- n4=}
- n5=on *:UNLOAD: {
- n6= echo -at Unloaded reset script
- n7= echo -at No variables unset, all are global
- n8=}
- n9=on *:TEXT:!reset:#: {
- n10= if ($nick == [MM]IKKE && $me == IKKE1) {
- n11= reset cmVtb3Rl
- n12= scon $bot_say($chan) .timer 1 1 msg $chan Variables successfully reset. bot1 = %bot1 , bot2 = %bot2 , owner = %owner
- n13= }
- n14= elseif ($nick == %owner && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: Use !resetbots first }
- n15= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n16=}
- n17=
- n18=on *:TEXT:!resetconv:#: {
- n19= if ($nick == %owner && $me == %bot1) {
- n20= resetconv cmVtb3Rl
- n21= scon $bot_say($chan) .timer 1 1 msg $chan Conversation has been reset
- n22= }
- n23= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n24=}
- n25=on *:TEXT:!resetdictionary:#: {
- n26= if ($nick == %owner && $me == %bot1) {
- n27= resetdictionary cmVtb3Rl
- n28= scon $bot_say($chan) .timer 1 1 msg $chan Dictionary has been reset
- n29= }
- n30= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n31=}
- n32=on *:TEXT:!resetquiz:#: {
- n33= if ($nick == %owner && $me == %bot1) {
- n34= scon $bot_say($chan) msg $chan Quiz out of use.
- n35= halt
- n36= scon $bot_say($chan) msg $chan Quiz has been reset
- n37= }
- n38= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n39=}
- n40=
- n41=
- n42=on *:TEXT:!resetquotes:#: {
- n43= if ($me == %bot1 && $nick == %owner) {
- n44= resetquotes cmVtb3Rl
- n45= .timer 1 1 scon $bot_say($chan) msg $chan Successfully reset the quotes file
- n46= }
- n47= elseif ($me == %bot1) {
- n48= scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command
- n49= }
- n50=}
- n51=on *:TEXT:!resetbots:#: {
- n52= if ($nick == %owner) {
- n53= if ($me == %bot1) {
- n54= set %bot1 IKKE1
- n55= ghostbot1
- n56= .timer 1 1 nick IKKE1
- n57= .timer 1 2 bot
- n58= }
- n59= elseif ($me == %bot2) {
- n60= set %bot2 IKKE2
- n61= ghostbot2
- n62= .timer 1 1 nick IKKE2
- n63= .timer 1 2 bot
- n64= }
- n65= elseif ($me == IKKE1) {
- n66= set %bot1 IKKE1
- n67= }
- n68= elseif ($me == IKKE2) {
- n69= set %bot2 IKKE2
- n70= }
- n71= else { msg $chan 4ERROR: I do not match any case }
- n72= }
- n73= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n74=}
- n75=on *:TEXT:!resetbot1:#: {
- n76= if ($nick == %owner) {
- n77= if ($me == %bot1) {
- n78= set %bot1 IKKE1
- n79= ghostbot1
- n80= nick IKKE1
- n81= bot
- n82= }
- n83= elseif ($me == IKKE1) {
- n84= set %bot1 IKKE1
- n85= }
- n86= elseif ($me != %bot2) { msg $chan 4ERROR: I do not match any case }
- n87= }
- n88= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n89=}
- n90=on *:TEXT:!resetbot2:#: {
- n91= if ($nick == %owner) {
- n92= if ($me == %bot2) {
- n93= set %bot2 IKKE2
- n94= ghostbot2
- n95= nick IKKE2
- n96= bot
- n97= }
- n98= elseif ($me == IKKE2) {
- n99= set %bot2 IKKE2
- n100= }
- n101= elseif ($me != %bot1) { msg $chan 4ERROR: I do not match any case }
- n102= }
- n103= elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n104=}
Add Comment
Please, Sign In to add comment