Content-length: 15544 Content-Type: text/html; charset=UTF-8 Tips For Creating

Commonwealth Network
If you ever ask the #mirc OPs what is the best script, they'll answer, "The One You Make Yourself." Use this section to make that great script!

[ Server OP Protection | Text Flood Protection | Nick Flood Protection | Action Protecion | Clone Protection | Complete Ignore | Borg Talk Protection ]

[ Away | mIRC Mailer | Wall OP Messages | Mass OP | Mass Kick | Shut Up Kicks | Word Kicks | Notepad | Online Timer | Revolving Door | Auto OP Delay | User Modes | Last Seen< /a> | Timer Bans | Graffiti Wall | Split Finder | Nick Counter ]


What You Should Do
What You Shouldn't Do MOST IMPORTANTLY: DO NOT include the mirc32.exe in your ZIP file! NOBODY wants to download a half meg script just because you included the mIRC executable file! CTFire will no longer accept any scripts that include the mirc32.exe file.
Below are examples of codes that are for public use. You may want to use some of the following for use in your script.

Please note that most of these will only work with mIRC version 4.52 or latter.


Sever OP Protection
Description: This will protect you from takeovers.

Put this in your event's window:
1:ON SERVEROP:#:/mode $chan -o $opnick
1:ON SERVERMODE:#:+nts-milkp
Back To The Top


Text Flood Protection
Description: Protects your channel from text floods.

Put this in your event's window:
*1!:ON TEXT:*:#:/auser 200 $nick | /timer 1 3 | /ruser $nick
*+200:ON TEXT:*:#:/timers off | /auser 201 $nick | /timer 1 3 /ruser $nick
*+201:ON TEXT:*:#:/timers off | /auser 202 $nick | /timer 1 3 /ruser $nick
*+202:ON TEXT:*:#:/timers off | /auser 203 $nick | /timer 1 3 /ruser $nick
*+203:ON TEXT:*:#:/timers off | /auser 204 $nick | /timer 1 3 /ruser $nick
*+204:ON TEXT:*:#:/timers off | /ruser $nick | /kick $chan $nick Text Flood Detected!
Back To The Top


Nick Flood Protection
Description: Protect your channel from nick flooders.

Put this in your event's window:
*1!:ON NICK:/auser 200 $newnick | /timer 1 4 /ruser $newnick
*+200:ON NICK:/ruser $nick | /auser 201 $newnick | /timer 1 4 /ruser $newnick
*+201:ON NICK:/ruser $nick | /auser 202 $newnick | /timer 1 4 /ruser $newnick
*+202:ON NICK:/ruser $nick | /kick $chan $newnick Nick Flood Detected!
Back To The Top


Action Flood Protection
Description: Protect your channel from action floods.

Put this in your event's window:
*1!:ON ACTION:*:#:/auser 200 $nick | /timer 1 3 /ruser $nick
*+200:ON ACTION:*:#:/auser 201 $nick | /timer 1 3 /ruser $nick
*+201:ON ACTION:*:#:/auser 202 $nick | /timer 1 3 /ruser $nick
*+202:ON ACTION:*:#:/auser 203 $nick | /timer 1 3 /ruser $nick
*+203:ON ACTION:*:#:/auser 204 $nick | /timer 1 3 /ruser $nick
*+204:ON ACTION:*:#:/ruser $nick | /kick $chan $nick Action Flood Detected!
Back To The Top


Clone Protection
Description: Protect your channel from clones.

Put this in your event's window:
1:ON JOIN:#:/guser 71 $nick
*+71:ON JOIN:#:/ruser $nick | /guser 72 $nick 3 | /timer 1 3 /ruser $nick 3
*+72:ON JOIN:#:/ruser $nick | /guser 73 $nick 3 | /timer 1 3 /ruser $nick 3
*+73:ON JOIN:#:/ruser $nick | /guser 74 $nick 3 | /timer 1 3 /ruser $nick 3
*+74:ON JOIN:#:/ruser $nick | /ban $1 3 | /kick # $1 MASS JOIN PROTECT
Back To The Top


Away
Description: Adds the away command to your pop-ups.

Put this in your channel pop-up window:
Away
.Set Away: {
ame is away: $+ $$?="Enter your away message:"
away $!
}
.Set Back: {
ame is back!
away
}
Back To The Top


mIRC Mailer
Description: This will let users of mIRC send messages between one another.
Needed: A directory to store messages.

Put this in your event's window:
1:ON TEXT:~sendmail*:MSG:/write c:\mail\ $+ $parm2 $+ .txt From: $nick MESSAGE: $parm3*
1:ON TEXT:~getmail:MSG:/dcc send $nick c:\mail\ $+ $nick $+ .txt
1:ON TEXT:~erasemail:MSG:/write -c c:\mail\ $+ $nick $+ .txt
1:ON TEXT:~mailhelp:MSG: {
msg $nick Mailer:
msg $nick To Send Mail: /msg $me ~sendmail [nick] [message]
msg $nick To Get Mail: /msg $me ~getmail
msg $me To Erase Mail: /msg $me ~erasemail
closemsg $nick
}
Back To The Top


Wall OP Messages
Description: Lets you communicate with the other OPs.

Put this in your alias window:
/onotice /onotice [WallOPS/ $+ $chan $+ ] *$1
/omsg /omsg [WallOPS/ $+ $chan $+ ] *$1
Back To The Top


Mass OP
Description: Lets you quickly OP many people.

Put this in your nick pop-up window:
Mass OP:/mode $chan +o $*
Back To The Top


Mass Kick
Description: Lets you quickly kick people from a channel.
Needed: This Variable: %masskickmsg You Suck!

Put this in your nick pop-up window:
Mass Kick:/kick # $* %masskickmsg
Back To The Top


Shut Up Kick
Description: Kicks a user when ever he/she talks.
Needed: This variable: %shutupmsg I Said Sshhh!

Put this in your nick events window:
60:ON TEXT:*:#: {
kick $chan $nick %shutupmsg
ruser $nick
}
60:ON ACTION:*:#: {
kick $chan $nick %shutupmsg
ruser $nick
}
Back To The Top


Word Kicks
Description: Kicks someone when they say a specific word.

Put this in your event's window:
1:ON TEXT:*word*:#:/kick $chan $nick Don't Say That Word!
60:ON PART:#:/ruser $nick
Back To The Top


Note Pad
Description: Opens a specific file with the notepad.

Put this in your main pop-up window:
Edit
.Notes:/run notepad.exe c:\mirc\notes.txt
.EMail:/run notepad.exe c:\mirc\email.txt
Back To The Top


Online Timer
Description: Keeps track of how long you've been online.

Put this in your perform window:
/timer 0 60 /inc -q %minutes 1
/timer 0 3600 /inc -q %hours 1
/timer 0 3600 /dnc -q %minutes 1
ut this in your alias menu:
/online /ame has been online for %minutes minutes and %hours hours.
Back To The Top


Revolving Door
Description: Kicks people that join and part quickly.

Put this in your events window:
1:ON JOIN:#: {
guser 10 $nick 3
timer 1 60 /ruser $nick 3
}
10:ON PART:#: {
ban $chan $nick 3
msg $chan $nick Was Banned For Revolving Door
ruser $nick 3
}
10:ON TEXT:*:#:/ruser $nick 3
Back To The Top


Auto OP Delay
Description: Waits before auto oping friends to prevent flooding.

Put this in your events window:
10:ON JOIN:#:/timer5 1 5 /mode $chan +o $nick
10:ON OP:#:/timer5 off
Back To The Top


User Mode
Description: Configures the IRC user to receive server messages.

Put this in your main pop-up window:
User
.Invisible:/mode $me +i
.Receive Server Notices:/mode $me +s
.Receive Kills:/mode $me +k
.Receive WallOPs:/mode $me +w
Back To The Top


Last Seen
Description: Records the last time someone was in a channel.
Needed: A directory to store the information.

Put this in your events window:
1:ON JOIN:#:/write -c c:\mirc\seen\ $+ $nick $+ .txt $nick Is In The Channel Right Now!
1:ON PART:#:/write -c c:\mirc\seen\ $+ $nick $+ .txt I last saw nick on $day, $date, at $time.
1:ON QUIT:#:/write -c c:\mirc\seen\ $+ $nick $+ .txt I last saw nick on $day, $date, at $time.
1:ON KICK:#:/write -c c:\mirc\seen\ $+ $nick $+ .txt I last saw nick on $day, $date, at $time.
1:ON NICK:#:/write -c c:\mirc\seen\ $+ $nick $+ .txt $nick is $newnick and $newnick is here!
1:ON TEXT:!seen*:#:/play $chan c:\mirc\seen\ $+ $parm2 $+ .txt 1000
Back To The Top


Complete Ignore
Description: Excellent flood protection for when you're being flooded.

Put this in your alias window:
/f5 /ignore *!*@* | /timer3 0 30 /echo *** Everyone is being ignored. Hit F6 to undo.
/f6 /ignore -r *!*@* | /timer3 off
Back To The Top


Timer Bans
Description: Temporarily bans someone.
Note: Works only with nick bans

Put this in your nick pop-up window:
Timer Bans
.30 Secs:/mode $chan +b $nick | /kick $chan $nick Tmp Ban | /timer 1 30 /mode $chan -b $nick
.60 Secs:/mode $chan +b $nick | /kick $chan $nick Tmp Ban | /timer 1 60 /mode $chan -b $nick
Back To The Top


Borg/Killer Talk Protection
Description: Ignores people who try to get you with the Borg/Killer talk hack.
Put this in your event's window:
1:ON TEXT:ƒƒƒ*:#: {
ignore *!*@ $+ $address
timer 1 15 /ignore -r *!*@* $+ $address
kick $chan $nick Borg Sucks
}
1:ON TEXT:ƒKƒ*:#: {
ignore *!*@ $+ $address
timer 1 15 /ignore -r *!*@* $+ $address
kick $chan $nick KillerTalk Sucks
}
Back To The Top
Graffitti Wall
Description: Lets people write comments to a file.
Put this in your events window:
1:ON TEXT:!write*:#:/write c:\path\wall.txt $nick Wrote: $parms
1:ON TEXT:!read*:#:/play $nick c:\path\wall.txt 500
Back To The Top
Split Finder
Description: Scans quit messages to check for splits.
Put this in your events window:
1:ON QUIT:#: {
IF (irc* ISIN $parms) {
echo 4 *** Possible Split: $parms
}
}
Back To The Top
Nick Counter
Description: Counts the number of OPs and Non OPs on a channel.
Put this in your alias window:
count {
echo 4 There are a total of $nick(0,#) people in this channel. [ $+ $opnick(0,#) OP'ed/ $+ $nopnick(0,#) Not OP'ed]
}
Back To The Top
Back To My Home Page.