[aliases] n0=/ban /mode # +b $mask($address($$1,3),3) n1=/op /mode # +ooo $$1 $2 $3 n2=/dop /mode # -ooo $$1 $2 $3 n3=/p /part # n4=/n /names #$$1 n5=/w /whois $$1 n6=/k /kick # $$1 n7=/q /query $$1 n8=/hop /part # | /join #$$1 n9=/send /dcc send $1 $2 n10=/chat /dcc chat $1 n11=/ping /ctcp $$1 ping n12=/fsave { n13= if (%alt.tm == on) { .msg %at.chan $read txt\subj.txt $read txt\verb.txt $read txt\do.txt | set %alt.tm 2on | halt } n14= if (%alt.tm == 2on) { .msg %at.chan $read txt\fkillprot.txt | set %alt.tm on | halt } n15= if (%alt.tm == off) { halt } n16=} n17=/aop { n18= if (%a.op == on) { /mode $chan +o $nick } n19=} n20=/at { n21= if (%alt.at == on) { .timer7 0 %at.time /fsave | inc %at.time 1 | .timer8 0 %at.time /at | dec %at.time 1 } n22= if (%alt.at == off) { halt } n23=} n24=/np { n25= if (%alt.np == on) { .timer9 0 40 /atp | .timer10 0 41 /np } n26= if (%alt.np == off) { halt } n27=} n28=/atp { n29= if (%alt.np == on) { .msg $me . | halt } n30= if (%alt.np == off) { halt } n31=} n32=/mek /kick $chan $1 $2- n33=/meb { n34= if (($1 != $me) && ($1 !isop $chan)) { ban $1 } n35=} n36=/metwo { n37= if (($1 != $me) && ($1 !isop $chan)) { n38= if ($2 != $null) { ban $1 | kick $chan $1 $2- } n39= else { ban $1 | .timer 1 1 /kick $chan $1 $me } n40= } n41=} n42=/2mek { n43= if (($nick != $me) && ($nick !isop $chan)) { n44= if ($nick != $null) { kick $chan $nick $2- } n45= else { raw kick $chan $nick $me } n46= } n47=} n48=/2meb { n49= if (($nick != $me) && ($nick !isop $chan)) { ban $chan $nick } n50=} n51=/2metwo { n52= if ((%ban != $me) && (%ban !isop $chan)) { n53= if (%ban != $null) { ban %ban | kick $chan %ban $1- } n54= else { ban %ban | kick $chan %ban $me } n55= } n56=} n57=/3metwo { n58= if ((%tb != $me) && (%tb !isop $chan)) { n59= if (%tb != $null) { ban %tb | kick $chan %tb $1- | .timer 1 30 /tub } n60= else { ban %tb | kick $chan %tb $1- | .timer 1 30 /tub } n61= } n62=} n63=/rnt { n64= if (%rnt.rem == on) { .timer15 0 1800 /remat | .timer16 0 1801 /rnt } n65= if (%rnt.rem == off) { halt } n66=} n67=/remat { n68= if (%rnt.rem == on) { .msg %owner 5Anti-Talk Auto Reminder: To Disable The Anti-Talk Type %c $+ antitalk off | halt } n69= if (%rnt.rem == off) { halt } n70=} n71=/tenstart { n72= unset %command.ban.nick n73= unset %btd.d1 n74= unset %btd.d2 n75= unset %btd.d3 n76= unset %btd.d4 n77= unset %btd.d5 n78= unset %ap.btd n79= unset %alt.at n80= unset %alt.np n81= unset %stb.uses n82= unset %hp.last n83= unset %dtimes n84= unset %hp.may n85= unset %vdis.* n86= unset %_database_name n87= set %secret off n88= unset %tb.mask n89= unset %tb.chan n90= unset %ban n91= unset %temp* n92= unset %tb n93= write -c ini\gbtemp.ini n94= write -c ini\lktemp.ini n95= write -c ini\mbtemp.ini n96= echo 5!!!!> Finished resetting minor variables. n97= echo ------------------------------------------------------------------------- n98=} n99=/opjoin { n100= if ($readini ini\ops.ini $nick nick == $nick) { .msg $nick 12You are not being fully recognized by the bot, please enter your password. Type  $+ %qc $+ login  } n101=} n102=/sct { n103= if (%secret == on) { .echo Great you just found a secret! Want to know why I don't choose other irc servers than Chatcircuit to talk about and use? Its because of all the great people at Chatcircuit. Oh, and Chatcircuit is free of net splits and all that other stuff that goes on with larger servers. (Press F12 to connect - I can be found in #ybbot) | /echo Need a web site hosted? Chatcircuit has a extremely good hosting program with fast connections. http://www.chatcircuit.com/ | set %secret off | halt } n104= if (%secret == off) { halt } n105=} n106=/bnick { n107= if (%bnick == on) { n108= if ( fuck isin $nick ) || ( damn isin $nick ) || ( shit isin $nick ) || ( ass == $nick ) || ( bitch isin $nick ) || ( bastard isin $nick ) || ( cunt isin $nick ) || ( cock isin $nick ) || ( slut isin $nick ) { set %tb $nick | set %tb.chan $chan | 3metwo 5(Bad Nick Kick) 30 second ban - Please change your nick before re-joining. | inc %knumber 1 } n109= } n110=} n111=/jm { n112= if (%jm == on) { .notice $nick $read txt\jmes.txt } n113=} n114=/sont { n115= if (%sont == off) { echo Re-enabling the bot, please wait... | .bton | .set %sont on | echo Bot re-enabled. | echo ------------------------------------------------------------------------- } n116=} n117=/spop { n118= if (%spopon == QuitIRC) { unset %spopon } n119=} n120=/soway { n121= if (%soway == on) { echo Disabling away mode, please wait... | .disable #memo | .set %var.away off | .set %soway off | echo Away mode disabled. | echo ------------------------------------------------------------------------- } n122=} n123=/nick /set %auto.nick $1 | /nick $1 n124=/tub /mode %tb.chan -b %tb.mask n125=/rest { n126= if (%rst == on) { /server %rs.serv | .timer 1 10 /join %rs.chan | set %rst off } n127= if (%rst == off) { } n128=} n129=/greet { n130= if (%greet == on) { .msg $chan [ [ %gmes ] ] } n131= if (%greet == off) { } n132=} n133=/rload { n134= .load -rs scripts\antitalk.mrc n135= .load -rs scripts\away.mrc n136= .load -rs scripts\btserv.mrc n137= .load -rs scripts\chancmds.mrc n138= .load -rs scripts\chancmds2.mrc n139= .load -rs scripts\check.mrc n140= .load -rs scripts\commands.mrc n141= .load -rs scripts\ctrl.mrc n142= .load -rs scripts\def.mrc n143= .load -rs scripts\dialogs.mrc n144= .load -rs scripts\faqdb.mrc n145= .load -rs scripts\greet.mrc n146= .load -rs scripts\guestbook.mrc n147= .load -rs scripts\help.mrc n148= .load -rs scripts\link.mrc n149= .load -rs scripts\mboard.mrc n150= .load -rs scripts\onoff.mrc n151= .load -rs scripts\oper.mrc n152= .load -rs scripts\protect.mrc n153= .load -rs scripts\register.mrc n154= .load -rs scripts\seen.mrc n155= .load -rs scripts\sk.mrc n156= .load -rs scripts\start.mrc n157= .load -rs scripts\status.mrc n158= .load -rs scripts\sys.mrc n159= .load -rs scripts\various.mrc n160=} n161=/jvo { n162= if (%j.vo == on) { /mode $chan +v $nick } n163=} n164=/rgtf { n165= if (%fst.rd == on) { set %reg.code $rand(1,9) $+ $rand(10,100) $+ $rand(1,9) | set %fst.rd off } n166= if (%fst.rd == off) { } n167=} n168=/rmecho { n169= if (%made.owner == on) { .echo Please make sure you follow the directions in the Readme file and set yourself as Owner. | .echo 12Please press F1 to view. | .echo ------------------------------------------------------------------------- } n170=} n171=f1 /readme n172=f2 /setup n173=f3 { n174= if (%pro.yb == true) { ybpro | halt } n175= else { n176= if (%colors == off) { set %colors on | echo 5!!!!> Channel/Query colors are now disabled. | halt } n177= else { set %colors off | echo 5!!!!> Channel/Query colors are now enabled. | halt } n178= } n179=} n180=f4 /set %auto.nick $$?="Nickname:" | /nick %auto.nick | echo 2!!!!> Nickname changed to %auto.nick n181=f5 /autostart n182=f6 /cident n183=f7 /boxop n184=f8 /rcom n185=f9 .echo 5!!!!> Restarting Yourbot IRC Bot... | /saveini | .timer0 -o 1 1 /run mirc.exe | .timer1 -o 1 1 /exit n186=f10 .echo 5!!!!> Yourbot IRC Bot Quiting... | /saveini | .timer1 1 1 /exit n187=f11 .echo 5!!!!> F Commands | .echo F1 - Opens the Readme. | .echo F2 - Opens the Configuration Wizard. | .echo F3 - $iif(%pro.yb == $true, 3Upgrade to 12Yourbot IRC Bot Professional12., Enables/Disables channel and query colors.) | .echo F4 - Changes the bots nickname. | .echo F5 - Auto-Start setup. | .echo F6 - Displays the Command Identifier setup. | .echo F7 - Displays the Operator Management dialog. | .echo F8 - Displays Command Retrieval setup. | .echo F9 - Restarts the bot. | .echo F10 - Quits the bot. | .echo F11 - List all "F" commands. n188=f12 { n189= if (chatcircuit.com isin $server) { n190= if (#ybbot ischan) { halt } n191= else { /echo 10!!!!> Now joining #ybbot for assistance. | .timer 1 1 /join #ybbot | halt } n192= } n193= else { n194= if (%auto.server != $null) { /server %auto.server %auto.port } n195= else { /server irc.chatcircuit.com 6668 } n196= } n197=} n198=/about { n199= window -ablk0 @About -1 -1 txt/window.txt n200= .aline @About Yourbot IRC Bot 4.0 - About n201= .aline @About ---------------------------- n202= .aline @About The 4Yourbot IRC Bot 4.0 1Was Created By: n203= .aline @About Matthew Holt (matthewh) n204= .aline @About --------------------------------------- n205= .aline @About This Bot And All Source Code Within, Is n206= .aline @About Copyright 1999-2002 By Matthew Holt. n207= .aline @About --------------------------------------- n208= .aline @About For help, and updates of this bot, and n209= .aline @About addons (such as Bot Talk Mode), n210= .aline @About please visit the YB-Bot Homepage at: n211= .aline @About http://ybbot.chatcircuit.com/ n212= .aline @About --------------------------------------- n213= .aline @About If you need help, you can find me on n214= .aline @About ChatCircuit at: irc.chatcircuit.com n215= .aline @About I will be in the room #ybbot, using the n216= .aline @About nickname "matthewh". You can also n217= .aline @About e-mail me at: ybbot@chatcircuit.com n218=} n219=/readme { n220= /rgtf n221= window -ablk0 @Readme -1 -1 txt/rwindow.txt n222= .aline @Readme Yourbot IRC Bot 4.0 - Readme n223= .aline @Readme ---------------------------- n224= .aline @Readme To use this bot correctly you must first set yourself as owner. n225= .aline @Readme --------------------------------------- n226= .aline @Readme To set yourself as owner: n227= .aline @Readme 1. Open another IRC client (like mIRC) n228= .aline @Readme 2. Connect the mIRC that came with the bot to a IRC server (like irc.chatcircuit.com, can be any n229= .aline @Readme server though) and make it join a channel (/join #channelname). n230= .aline @Readme 3. Connect the IRC client that you opened to the same server as the bot and join the same channel n231= .aline @Readme with it. n232= .aline @Readme 4. Now, type the following command in the channel (not in the mIRC that came with the bot, type n233= .aline @Readme in the IRC client you opened): n234= .aline @Readme %c $+ owner %reg.code n235= .aline @Readme 5. You should receive a notice asking you to set a password for logging in. Set your password using the n236= .aline @Readme command provided. n237= .aline @Readme 6. Now, using the IRC Client that you opened (not the mIRC that came with the bot) type %c $+ help in the channel. n238= .aline @Readme That's it, enjoy! n239= .aline @Readme --------------------------------------- n240= .aline @Readme Bot Status: n241= .aline @Readme Owner Status: %reg.stat n242= .aline @Readme Date: %reg.date n243= .aline @Readme Owner: %owner n244= .aline @Readme ---------------------------------------- n245= .aline @Readme Delete Owner (right-click) n246= /sct n247=} n248=/faq { n249= window -ablk0 @FAQ -1 -1 txt/window.txt n250= .aline @FAQ Yourbot IRC Bot 4.0 - FAQ n251= .aline @FAQ ------------------------- n252= .aline @FAQ 5!!!!> By the way, an Owner of the bot doesn't need to be a Master also, n253= .aline @FAQ 5!!!!> the Owner is the highest level one can have. n254= .aline @FAQ ----- n255= .aline @FAQ Q - Every time I type !help in the channel the bot warns me, then bans n256= .aline @FAQ me, whats happening? n257= .aline @FAQ A - The bot isn't recognizing you as an operator. Either: n258= .aline @FAQ 1. You haven't set yourself as owner. n259= .aline @FAQ 2. You changed your IRC nickname. n260= .aline @FAQ To set yourself as owner, please read the Readme (Press F1) that came n261= .aline @FAQ with this bot. If you have set yourself as owner, then most likely the reason n262= .aline @FAQ it doesn't recognized you is because you changed your IRC nickname. n263= .aline @FAQ Just change your nickname back, and log in to the bot by typing this: n264= .aline @FAQ /msg $me %qc $+ login n265= .aline @FAQ -- n266= .aline @FAQ Q - When using the Op Manager, I try and remove an operator, and n267= .aline @FAQ I get a "Internal Error". What's happening? n268= .aline @FAQ A - This means that when you added the operator, the bot failed to n269= .aline @FAQ record its host successfully. Instead of removing the operator using n270= .aline @FAQ the dialog, you will now have to do it manually when you see him. n271= .aline @FAQ (by right-clicking on their nick when they are in the channel, or n272= .aline @FAQ using the !del commands. n273= .aline @fAQ -- n274= .aline @FAQ Q - The !owner command isn't working, its saying something about n275= .aline @FAQ a "write" error. How do I fix this? n276= .aline @FAQ A - The reason it isn't working is most likely because you and the n277= .aline @FAQ bot are not in the same channel; to fix that, join a channel and make n278= .aline @FAQ the bot join the same channel and try the register command again. n279= .aline @FAQ -- n280= .aline @FAQ Q - The bot keeps getting disconnected when I leave it idle, how can I n281= .aline @FAQ stop that? n282= .aline @FAQ A - Just turn On The Anti-Ping Timeout, type %c $+ noping on in a channel n283= .aline @FAQ -- n284= .aline @FAQ Q - Everytime someone types %c $+ help, or % $+ chancommands, the bot keeps n285= .aline @FAQ disconnecting from the server (flooding), how do I stop that? n286= .aline @FAQ A - Press F8 and change the bots displaying of commands from "IRC n287= .aline @FAQ Message" to "Text File" or "Web Address". n288= .aline @FAQ -- n289= .aline @FAQ Q - Can this bot stay in my channel while I am not on the internet? n290= .aline @FAQ A - No, no bots that run under Windows can. You must stay connected to n291= .aline @FAQ the internet 24/7. n292= .aline @FAQ -- n293= .aline @FAQ Q - The Kick/Ban commands don't work, why? n294= .aline @FAQ A - Most likely it is because the bot isn't opped in the channel, make n295= .aline @FAQ sure the bot is always opped. n296= .aline @FAQ -- n297= .aline @FAQ Q - For some reason the bot doesn't recognize any of my commands, n298= .aline @FAQ but it calls me its Owner when i join the channel, what do I do? n299= .aline @FAQ A - Try typing /rload in the bots mIRC. n300= .aline @FAQ -- n301= .aline @FAQ Q - The bot keeps getting killed/disconnected from the server when n302= .aline @FAQ normal users type commands such as %c $+ guestbook, exc. How do n303= .aline @FAQ stop that? n304= .aline @FAQ A - Turn the Command Kick ( $+ %c $+ comkick on) on, that allows users to n305= .aline @FAQ use no more than 3 commands in 30 seconds. Thus preventing n306= .aline @FAQ flooding. n307= .aline @FAQ -- n308= .aline @FAQ Q - Can I give this bot away to friends? n309= .aline @FAQ A - You can tell them where they can download it. But please do not n310= .aline @FAQ send them the version you have downloaded. (http://ybbot.chatcircuit.com/) n311= .aline @FAQ -- n312= .aline @FAQ Q - Where can I go to check for future versions of this bot? n313= .aline @FAQ A - Go to the Yourbot IRC Bot Homepage, located at n314= .aline @FAQ http://ybbot.chatcircuit.com/. You can sign up for our newsletter that n315= .aline @FAQ will automatically e-mail you when a new version comes out. n316=} n317=/credits { n318= window -ablk0 @Credits/Notes -1 -1 txt/window.txt n319= .aline @Credits/Notes Yourbot IRC Bot 4.0 - Credits n320= .aline @Credits/Notes ---------------------------- n321= .aline @Credits/Notes the|navigator (chatcircuit) - Usually found in #ccsc, he has helped me with various scripting questions. Navi n322= .aline @Credits/Notes also created the FAQ Mode for the bot, which is the only script in the bot that I have not created myself. I owe n323= .aline @Credits/Notes ya man. BTW, he is the owner of the Chatcircuit Scripting Crew, stop by #ccsc and check it out. n324= .aline @Credits/Notes http://www.chatcircuit.com/mircscripts n325= .aline @Credits/Notes LaZZ (chatcircuit) - This guy has helped me out alot. He supplied the web site for the bot and provided help n326= .aline @Credits/Notes in numerous other ways. Thanks man. (owner of Chatcircuit) n327= .aline @Credits/Notes CoMiC_sMiLeYs (chatcircuit) - For designing the buttons for the mIRC/web site, and various other things. n328= .aline @Credits/Notes Qbmaniac (chatcircuit) - For putting v3.0 up in the channel for me 24/7 at one time, and for helping bot users n329= .aline @Credits/Notes in the channel #ybbot. - qbmaniaccc@chatcircuit.com n330= .aline @Credits/Notes Exar (chatcircuit) - He designed some images for me and beta tested some of the bot. Thanks! n331= .aline @Credits/Notes Julie2 (undernet) - She has helped me with scripting, thanks julie. Same goes to LoRd^DaVe and rex_ n332= .aline @Credits/Notes from Undernet. n333= .aline @Credits/Notes Cypher (Kotnet) - He beta tested the bot thoroughly and gave me many suggestions. n334= .aline @Credits/Notes Thanks man! n335= .aline @Credits/Notes Blue - Great scripter who helped me tons and beta tested version 4.0 of the bot. Thanks man! n336= .aline @Credits/Notes space-dragon - This guy noticed a small bug that went all the way since version 1.0 without being noticed. n337= .aline @Credits/Notes Thanks a lot. I think the bot is now completely bug-free. n338= .aline @Credits/Notes gilj (chatcircuit) - He noticed someone who copied the bot then claimed it as their own. Hangs out n339= .aline @Credits/Notes in #ybbot sometimes. n340= .aline @Credits/Notes WaRLoCk - He came up with some good suggestions and tested the bot for me. Great help. Thanks war. n341= .aline @Credits/Notes RobZombie - He translated the bot into French very quickly. He also found bugs in the bot. Thanks a bunch n342= .aline @Credits/Notes Rob. n343= .aline @Credits/Notes mies - She designed the website for me and just helped me out in many different ways. Thanks mies! (she n344= .aline @Credits/Notes rocks) n345= .aline @Credits/Notes Nild - Scripted the PHP pages on the web site for me. Thanks a bunch Nild. n346= .aline @Credits/Notes TKK - Helped me fix a bug that I've had problems with for a while now. Thanks man. n347= .aline @Credits/Notes CoreyS - He created the questions for the Trivia, helped with email, and helped users in the chat room. Thanks n348= .aline @Credits/Notes man! n349= .aline @Credits/Notes Corey has helped out tons. n350= .aline @Credits/Notes Various Beta Testers - USAir_757, TJ, and Warlock. n351= .aline @Credits/Notes E-mail Staff - CoreyS n352= .aline @Credits/Notes Various Channel Ops/Helpers - mies, CoreyS, Listener, Cattie, Warlock, USAir_757, TJ, Qbmaniac, n353= .aline @Credits/Notes and Comic_Smileys. n354= .aline @Credits/Notes -- n355= .aline @Credits/Notes If I left anyone out, sorry and thanks for helping in whatever way you did. n356= .aline @Credits/Notes ---------------------------- n357= .aline @Credits/Notes Yourbot IRC Bot 4.0 - Notes n358= .aline @Credits/Notes ---------------------------- n359= .aline @Credits/Notes 1. You can change the bots nickname to anything you want, just make sure you don't change your nickname. n360= .aline @Credits/Notes If you do the bot will not recognize you as master, operator, or janitor. n361= .aline @Credits/Notes 2. The Spy Mode has been taken out of versions later than 2.4, the reason is because it didn't comply n362= .aline @Credits/Notes with some server rules. n363= .aline @Credits/Notes 3. The Bot Talk Mode has been taken out of version 3.0+, the reason is because it could become extremely n364= .aline @Credits/Notes annoying. It has been replaced with the Auto-Talk ( $+ %c $+ at ). The Bot Talk Mode is also n365= .aline @Credits/Notes being offered as an addon to the bot, it can be downloaded by anyone that has interest in it. Please make n366= .aline @Credits/Notes sure you have used it previously or you know how to properly use it before trying it out. n367= .aline @Credits/Notes 4. Look for more addons at http://ybbot.chatcircuit.com/ n368= .aline @Credits/Notes 5. Thanks for all the support of the bot, great comments, and all of the many suggestions you've sent in. n369= .aline @Credits/Notes Sorry it has taken me so long to complete another version, but as you most likely know, I receive n370= .aline @Credits/Notes no money (donations accepted on the web site:D) for creating the bot, and it takes up plenty of my time. n371= .aline @Credits/Notes Enjoy! n372=}