home *** CD-ROM | disk | FTP | other *** search
- on 1:nosound:if (%nosoundget == on) { msg $comchan($nick,1) ! $+ $nick $filename áááGimme that $upper($right($filename,3)) $+ ! $logo 14sound-grabber | halt }
- on 1:deop:#:{ if (%mdeoppro == on) { inc %mdeopvar1 | .timer818 1 1 massdeoppro $chan $nick | .timer819 1 2 unset %mdeopvar1 } }
- on 1:join:#:{
- if ($nick == $me) {
- echo 1 -a 2,15[5,15Entering $chan $+ 2,15]
- set %jointime $ticks
- set %tempchan $chan
- set %whoclone yes | who $chan
- halt
- }
- writeini seen.bio $nick ctime $ctime | writeini seen.bio $nick date $adate
- writeini seen.bio $nick action Joined $chan
- echo $chan 5-=(2Join5)=-14 $nick $+ < $+ $address $+ > 5-=(2Join5)=-
- set %tempaol $address($nick,2)
- if ((%auto-aol-kick == on) && ($right(%tempaol,7) == aol.com) && ($me isop $chan)) { kick $chan $nick Auto-AOL kick - $logo }
- set %tempauto $readini user.ini auto-op $address($nick,3)
- if ((%tempauto == yes) && ($me isop $chan)) { mode $chan +o $nick | .notice $nick $logo Auto-op }
- set %tempauto $readini user.ini shitlist $address($nick,3)
- if ((%tempauto == yes) && ($me isop $chan)) { kick $chan $nick $logo Shitlist | ban $chan $nick 3 }
- clonejoin $address($nick,2) $nick
- if (%revolvdoor == on) { set %rdoor [ $+ [ $nick ] ] on | timer14 1 5 unset %rdoor [ $+ [ $nick ] ] }
- }
- on 1:text:*:?:{
- if (($nick == $me) && (%awayloggin == on)) { write logs.txt < $+ $clock $+ > I wrote : $1- | goto next }
- if (%awayloggin == on) {
- write logs.txt < $+ $clock $+ > $nick wrote : $1-
- msg $nick I'm away : ñ2 $+ %reason $+ ñ Msg Saved $logo
- goto next
- }
- if (%reason != $null) { msg $nick I'm away : ñ2 $+ %reason $+ ñ $logo }
- :next
- if (%msg-flood == on) { unset %temp*
- set %tempctcp $readini flood.ini msg $nick
- if (%tempctcp == $null) { writeini flood.ini msg $nick $ctime | writeini flood.ini msg $nick [ $+ [ 1 ] ] 1 | halt }
- %tempctcp = $ctime - %tempctcp | set %tempctcp1 $readini flood.ini msg $nick [ $+ [ 1 ] ]
- if ((%tempctcp <= 2) && (%tempctcp1 >= 5)) { .ignore -u120 $nick 2 | echo 12 -a MSG Flood Detected by : $nick $+ , 2 minute ignore | goto end }
- if (%tempctcp > 2) { writeini flood.ini msg $nick $ctime | writeini flood.ini ctcp $nick [ $+ [ 1 ] ] 1 | halt }
- inc %tempctcp1 | writeini flood.ini msg $nick [ $+ [ 1 ] ] %tempctcp1 | halt | :end
- writeini flood.ini msg $nick $ctime | writeini flood.ini msg $nick [ $+ [ 1 ] ] 1 | halt
- }
- }
- on 1:part:#:{
- echo $chan 5-=(2Part5)=-14 $nick $+ < $+ $address $+ > 5-=(2Part5)=-
- if ((%rdoor [ $+ [ $nick ] ] == on) && ($me isop $chan)) { ban -u1000 $chan $nick | msg $chan $logo Revolving Door Ban $logo | unset %rdoor [ $+ [ $nick ] ] }
- writeini seen.bio $nick ctime $ctime | writeini seen.bio $nick action Left $chan
- writeini seen.bio $nick date $adate
- unset % $+ $nick $+ text
- }
- on 1:quit:{
- writeini seen.bio $nick ctime $ctime | writeini seen.bio $nick action Quit with the Message : $1-
- writeini seen.bio $nick date $adate
- set %chans 1
- :loop
- if ($chan(%chans) == $null) { halt }
- if ($nick ison $chan(%chans)) { echo $chan(%chans) 5-=(2Quit5)=-14 $nick $+ < $+ $address $+ > ( $+ $1- $+ ) 5-=(2Quit5)=- }
- inc %chans
- goto loop
- }
- on 1:start:{
- if ((%servnotices == on) || (%wallops == on)) {
- window @áServeráMessagesá@ 360 0 280 363
- echo 1 @áServeráMessagesá@ This is where your Server Messages will go
- }
- inc %numtimesusing | set %hd-loc $left($mircdir,3) | set %mircdir $mircdir | if (%numtimesusing == 1) { setup | set %mididir $mircdir | set %wavdir $mircdir }
- .remove flood.ini
- if (%password != $null) {
- set %var12 $$?="Enter your password"
- if (%var12 != %password) { echo -a Password Incorrect, IRC will shut down in 5 seconds | .timer 1 5 exit }
- else { echo -a Password Correct. Connect when ready. }
- }
- titlebar Good $timofday $+ , Quote o` the Day : $read quotes.bio | biostartup
- echo 2 -s Welcome to $logo $+ , this is your $th(%numtimesusing) time using BioWar.
- echo 5 -s Ready for connection to server
- }
- on 1:connect:{
- .remove flood.ini
- if (%auto-idle == on) { .timer11 0 1 idlecheck | .timer12 0 1 titleidle }
- .timer15 1 10 /autochanjoin %chanstojoin
- if (%chanstojoin == $null) { .timer15 off }
- if (%chanstojoin != $null) { echo 2 -s Auto-Joining %chanstojoin in 10 Seconds, press F5 to stop }
- mode $me +sw
- if (%channelstart == yes) { window -l @Channels@ 200 0 250 200 chanjoin.bio | /loadbuf 1- $+ $lines(chans.txt) @Channels@ chans.txt }
- titlebar Connected to $server $+ , Welcome to BioWar. It is Currently $clock [Away/ $+ %awa1 $+ ] [Idle/ $+ $durate($idle) $+ ]
- .timer2221 0 1 title1
- }
- #httpdl off
- on 1:dns:{
- if ($iaddress == $null) { .ruser httpdl $me | echo 12 -a Cannot Download File, doesn't exist | .disable #httpdl | halt }
- .creq auto | .raw privmsg $me :DCC CHAT CHAT $longip($iaddress) 80 $+
- .auser httpdl $me | .disable #httpdl
- }
- #httpdl end
- on +httpdl:chatopen:.creq ask | msg = [ $+ [ $me ] ] GET %wwwaddress
- on +httpdl:chat:*:/write $mircdir [ $+ [ %wwwtemp1 ] ] $1-
- on +httpdl:chatclose:.ruser httpdl $me | close -c $me | /run $mircdir [ $+ [ %wwwtemp1 ] ]
- #httpview off
- on 1:dns:{
- if ($iaddress == $null) { .ruser httpview $me | echo 5 -a Server does not have a DNS entry | .disable #httpview | halt }
- .creq auto | .raw privmsg $me :DCC CHAT CHAT $longip($iaddress) 80 $+
- .auser httpview $me | .disable #httpview
- }
- #httpview end
- on +httpview:chatopen:.creq ask | msg = [ $+ [ $me ] ] GET %wwwaddress | echo 7 @áWebáBrowserá:á $+ %wwwfull $+ á@ ----->Begin Document<-----
- on +httpview:chat:*:{
- set %htmlstuff $1-
- %htmlstuff = $replace(%htmlstuff,<html>,á) | %htmlstuff = $replace(%htmlstuff,<title>,Title :) | %htmlstuff = $replace(%htmlstuff,</title>,)
- %htmlsutff = $replace(%htmlstuff,<head>,á) | %htmlstuff = $replace(%htmlstuff,</head>,á) | %htmlstuff = $replace(%htmlstuff,<b>,)
- %htmlstuff = $replace(%htmlstuff,</b>,) | %htmlstuff = $replace(%htmlstuff,<u>,) | %htmlstuff = $replace(%htmlstuff,</u>,)
- %htmlstuff = $replace(%htmlstuff,<font,á) | %htmlstuff = $replace(%htmlstuff,color="red",4) | %htmlstuff = $replace(%htmlstuff,color="blue",12)
- %htmlstuff = $replace(%htmlstuff,color="green",3) | %htmlstuff = $replace(%htmlstuff,color=",á) | %htmlstuff = $replace(%htmlstuff,color=,á)
- %htmlstuff = $replace(%htmlstuff,size=",á) | %htmlstuff = $replace(%htmlstuff,size=,á) | %htmlstuff = $replace(%htmlstuff,<table,á)
- %htmlstuff = $replace(%htmlstuff,cellpadding=,á) | %htmlstuff = $replace(%htmlstuff,cellspacing=,á) | %htmlstuff = $replace(%htmlstuff,<align=,á)
- %htmlstuff = $replace(%htmlstuff,<br>,á) | %htmlstuff = $replace(%htmlstuff,<tr>,á) | %htmlstuff = $replace(%htmlstuff,<tr,á)
- %htmlstuff = $replace(%htmlstuff,+1>,á) | %htmlstuff = $replace(%htmlstuff,<body,Body Tag:) | %htmlstuff = $replace(%htmlstuff,text=,Text Color:)
- %htmlstuff = $replace(%htmlstuff,link=,Link Color:) | %htmlstuff = $replace(%htmlstuff,vlink=,Visited Link:) | %htmlstuff = $replace(%htmlstuff,alink=,Active Link:)
- %htmlstuff = $replace(%htmlstuff,<p>,á) | %htmlstuff = $replace(%htmlstuff,</p>,á) | %htmlstuff = $replace(%htmlstuff,<a href=,Link :)
- %htmlstuff = $replace(%htmlstuff,</a>,) | %htmlstuff = $replace(%htmlstuff,<td,á) | %htmlstuff = $replace(%htmlstuff,<center>,á) | %htmlstuff = $replace(%htmlstuff,</font>,á)
- %htmlstuff = $replace(%htmlstuff,<i>,á) | %htmlstuff = $replace(%htmlstuff,</i>,á) | %htmlstuff = $replace(%htmlstuff,<img src=,Image :)
- %htmlstuff = $replace(%htmlstuff,border=0,á) | %htmlstuff = $replace(%htmlstuff,border=,á) | %htmlstuff = $replace(%htmlstuff,alt=,Alt:)
- %htmlstuff = $replace(%htmlstuff,<h1>,á) | %htmlstuff = $replace(%htmlstuff,</h1>,á) | %htmlstuff = $replace(%htmlstuff,<h2>,á) | %htmlstuff = $replace(%htmlstuff,</h2>,á)
- %htmlstuff = $replace(%htmlstuff,<h3>,á) | %htmlstuff = $replace(%htmlstuff,</h3>,á) | %htmlstuff = $replace(%htmlstuff,<h4>,á) | %htmlstuff = $replace(%htmlstuff,</h4>,á)
- %htmlstuff = $replace(%htmlstuff,<li>,á) | %htmlstuff = $replace(%htmlstuff,</li>,á) | %htmlstuff = $replace(%htmlstuff,</td>,á) | %htmlstuff = $replace(%htmlstuff,<td>,á)
- %htmlstuff = $replace(%htmlstuff,width=,á) | %htmlstuff = $replace(%htmlstuff,height=,á) | %htmlstuff = $replace(%htmlstuff,<meta,á) | %htmlstuff = $replace(%htmlstuff,name=,á)
- %htmlstuff = $replace(%htmlstuff,valign=top,á) | %htmlstuff = $replace(%htmlstuff,valign=bottom,á) | %htmlstuff = $replace(%htmlstuff,valign=right,á)
- %htmlstuff = $replace(%htmlstuff,valign=left,á) | %htmlstuff = $replace(%htmlstuff,content=,á) | %htmlstuff = $replace(%htmlstuff,<img,á) | %htmlstuff = $replace(%htmlstuff,src=,á)
- %htmlstuff = $replace(%htmlstuff,</table>,á) | %htmlstuff = $replace(%htmlstuff,<form,á) | %htmlstuff = $replace(%htmlstuff,</form>,á) | %htmlstuff = $replace(%htmlstuff,value=,á)
- %htmlstuff = $replace(%htmlstuff,<a,á) | %htmlstuff = $replace(%htmlstuff,target=_top,á) | %htmlstuff = $replace(%htmlstuff,target=main,á)
- %htmlstuff = $replace(%htmlstuff,<option,á) | %htmlstuff = $replace(%htmlstuff,<select,á) | %htmlstuff = $replace(%htmlstuff,<input,á) | %htmlstuff = $replace(%htmlstuff,type=,á)
- %htmlstuff = $replace(%htmlstuff,<h5>,á) | %htmlstuff = $replace(%htmlstuff,</h5>,á) | %htmlstuff = $replace(%htmlstuff,href=,á) | %htmlstuff = $replace(%htmlstuff,</head>,á)
- %htmlstuff = $replace(%htmlstuff,</select>,á) | %htmlstuff = $replace(%htmlstuff,ismap,á) | %htmlstuff = $replace(%htmlstuff,</tr>,á) | %htmlstuff = $replace(%htmlstuff,-1,á)
- %htmlstuff = $replace(%htmlstuff,</center>,á) | %htmlstuff = $replace(%htmlstuff, ,á) | %htmlstuff = $replace(%htmlstuff,©,⌐)
- %htmlstuff = $replace(%htmlstuff,valign="top",á) | %htmlstuff = $replace(%htmlstuff,vspace=,á) | %htmlstuff = $replace(%htmlstuff,hspace=,á)
- %htmlstuff = $replace(%htmlstuff,<tt>,á) | %htmlstuff = $replace(%htmlstuff,</tt>,á) | %htmlstuff = $replace(%htmlstuff,<span,á)
- %htmlstuff = $replace(%htmlstuff,>,á)
- if (%htmlstuff == $null) { halt } | echo 2 @áWebáBrowserá:á $+ %wwwfull $+ á@ %htmlstuff
- }
- on +httpview:chatclose:.ruser httpview $me | close -c $me | echo 7 @áWebáBrowserá:á $+ %wwwfull $+ á@ ----->End HTML Document<-----
- #gmaillookup off
- on 1:dns:{
- if ($iaddress == $null) {
- echo -a 5-=(2▀\\'5)=- POP3 server %gmailip could not be resolved.
- .ruser getmail $me
- .disable #gmaillookup
- }
- else {
- echo -a 5-=(2▀\\'5)=- POP3 server %gmailip found. Waiting for reply...
- .creq auto
- set %gmailipnum $longip($iaddress)
- rawchat %gmailipnum 110
- .disable #gmaillookup
- }
- }
- #gmaillookup end
- on +getmail:chatopen:{
- msg = $+ $me USER %mailuser
- msg = $+ $me PASS %mailpass
- .creq ask
- .timer5575 1 2 echo = $+ $me 5-=(2▀\\'5)=- To retrieve a message, type "RETR" followed by the message number
- .timer5585 1 2 echo = $+ $me 5-=(2▀\\'5)=- To delete a message, type "DELE" followed by the message number
- .timer5595 1 2 echo = $+ $me 5-=(2▀\\'5)=- To end this e-mail retrieval session, type "QUIT"
- }
- on +getmail:chatclose:.ruser getmail $me
- on 1:snotice:*too many connections*:halt
- on 1:snotice:*ip# mismatch*:halt
- on 1:snotice:*all connections in use*:halt
- on 1:snotice:*settime*:halt
- on 1:snotice:*:{
- if (%servnotices == on) {
- window @áServeráMessagesá@ 360 0 280 363
- echo 1 @áServeráMessagesá@ 2-=Notice2=- $remove($1-,*** Notice --)
- }
- halt
- }
- on 1:wallops:*:{
- if (%wallops == on) {
- window @áServeráMessagesá@ 360 0 280 363
- echo 1 @áServeráMessagesá@ 2! $+ $nick $+ 2! $1-
- }
- halt
- }
- on 1:notice:*:*:{
- if (%noticesound == on) {
- if (%noticesound1 == beep) { beep 5 50 }
- if (%noticesound1 == notice1.wav) { splay notice1.wav }
- if (%noticesound1 == notice2.wav) { splay notice2.wav }
- }
- }
- on 1:text:**:#:if ((%colorkick == on) && ($me isop $chan) && ($nick !isop $chan)) kick $chan $nick Color Kick $logo1
- on 1:text:*:#:if ((%colorkick == on) && ($me isop $chan) && ($nick !isop $chan)) kick $chan $nick Color Kick $logo1
- on 1:text:*:#:if ((%colorkick == on) && ($me isop $chan) && ($nick !isop $chan)) kick $chan $nick Color Kick $logo1
- on 1:text:*:#:{
- set %tempauto $readini user.ini shutupkick $address($nick,3)
- if ((%tempauto == yes) && ($me isop $chan)) { kick $chan $nick You are on my Shut Up kick list. SHUT UP! }
- if ($nick !isop $chan) {
- textfloodpro $nick $chan
- if ($nick != $me) {
- if (%capskick == on) {
- set %totaltext $1-
- :loop1
- if ($len(%totaltext) == $null) { goto end1 }
- if ($left(%totaltext,1) == $chr(32)) {
- set %numletters [ $len(%totaltext) - 1 ]
- set %totaltext $mid(%totaltext,2,%numletters)
- goto loop1
- }
- else {
- if ($asc($left(%totaltext,1)) isnum 65-90) { inc %caps }
- inc %all
- }
- set %numletters [ $len(%totaltext) - 1 ]
- set %totaltext $mid(%totaltext,2,%numletters)
- goto loop1
- :end1
- if ($percent(%caps,%all) => 80) { kick $chan $nick Caps Kick $logo1 }
- unset %totaltext %numletters %caps %all
- }
- if (%repeatkick == on) {
- if ($1- == [ % [ $+ [ $nick [ $+ [ text ] ] ] ] ]) { kick $chan $nick Repeat Kick $logo1 }
- else { set % $+ $nick $+ text $1- }
- }
- }
- }
- }
- on 1:action:*:#:textfloodpro $nick $chan
- menu @Channels@ {
- dclick { join $line(@Channels@,$sline(@Channels@,1).ln) }
- }
- menu @áWhoisá@ {
- dclick { window -c @áWhoisá@ }
- }
- menu @áAboutáBioWará@ {
- dclick { window -c @áAboutáBioWará@ }
- }
- menu @áCloneáDetectorá@ {
- dclick { window -c @áCloneáDetectorá@ }
- }
- menu @Setup@ {
- dclick { wavplay pop | setupclick $1 }
- }
- menu @áExplorerá@ {
- dclick { wavplay pop | set %ex-line $sline(%ex-winder,1).ln | set %ex-run %ex-dir $+ $line(%ex-winder,%ex-line) | run %ex-run }
- }
- menu @áClickáGame {
- dclick { clickgameclicked $1 }
- }
- menu @áCalculator {
- dclick { calclick $1 }
- }
- on 1:DNS:{
- echo 5 -a ____________________
- echo 5 -a DNS : $nick
- echo 5 -a IP Address : $iaddress
- if ($raddress == $null) echo 5 -a Could Not resolve Address
- echo 5 -a »»»»»»»»»»»»»»»»»»»»
- halt
- }
- on 1:action:*:#:{
- if (%repeatkick == on) {
- if ($1- == [ % [ $+ [ $nick [ $+ [ text ] ] ] ] ]) { kick $chan $nick Repeat Kick $logo1 }
- else { set % $+ $nick $+ text $1- }
- }
- }
- on 1:kick:#:{
- writeini seen.bio $nick ctime $ctime | writeini seen.bio $nick action Kicked from $chan
- writeini seen.bio $nick date $adate
- unset % $+ $knick $+ text
- }
- on 1:quit:unset % $+ $nick $+ text
-