anti-asl scriptbit -
a neat little scriptbit that creates an autoresponder for people
asl'ing you. Download the file from there :-)
A very handly little thing for mIRC - at least when you're using a
dedicated query window and doesn't want to move around too much with the
mouse - and wants to save some space on your desktop, is to get all your
messages pasted to the active window. That way you can just press
%lt;tab> a few times, and voilą, things will be flying in a few seconds
:-) These few lines of code will provide just that - it doesn't check
wether you have the query-window open or not, but that should be fairly
simple to add. (if ($active == $nick) { ) ie. :-)
on 1:TEXT:*:?:{
echo $active $timestamp msg < $+ $nick $+ > $1-
}
Submitted by SirMarl
This kicks everyone that IS NOT op on the #channel and who says the word
that you don't want to be said
on *:TEXT:*word*:#channel:{
if ($nick isop #) halt
else k $nick Stupid! you are not alloved to say 'word'
}
Submitted by SirMarl
This little snippet of code is quite necessary if you're using the above
submitted thingy about getting messages in the active windows when you're
using query-windows. This will stop your messages from coming several
places and avoiding local echo of your messages. When using /msg earlier,
the things you wrote didn't show up in the query-window, and the logs and
the chatsessions could be pretty hard to keep track of. This handy little
snippet takes care of that part.
alias msg {
if ($$1 == $active) {
.msg $$1 $2-
halt
}
if (($query($$1) != $$1) && ($$1 != $active) && ($$1 != $channel)) {
if ($2- == $null) {
halt
}
else {
echo -a $chr(91) $+ $time $+ $chr(93) -> $chr(42) $+ $$1 $+ $chr(42) $2-
.msg $$1 $2-
halt
}
}
else {
if ($2- == $null) {
halt
}
echo -a $chr(91) $+ $time $+ $chr(93) -> $chr(42) $+ $$1 $+ $chr(42) $2-
.msg $$1 $2-
echo $$1 $chr(91) $+ $time $+ $chr(93) $chr(60) $+ $me $+ $chr(62) $2-
halt
}
}
Submitted by SirMarl
This is a nice little thingy that echoes the whois information in the
active window. This is especially useful at earlier versions, as most
recent versions of mIRC has this feature built-in. This thing works best
in monospaced fonts for the right design.
raw 311:*:{
echo -a ?····?····? whois requsted ?····?····?
echo -a ?··· $2 is $3 $+ @ $+ $4 ? $6-
halt
}
raw 319:*:{
echo -a ?··· $3-
halt
}
raw 312:*:{
set %server $3
set %meld $4-
halt
}
raw 301:*:{
echo -a ?··· $2 is away: $3-
halt
}
raw 317:*:{
set %idle $3
set %tid $4
halt
}
raw 318:*:{
if ((%tid == hei) && (%server != ikke)) {
echo -a ?··· $2 using %server) $chr(40) $+ %meld $+ $chr(41)
echo -a ?····?····? whois requsted ?····?····?
set %idle hei
set %tid hei
set %server ikke
set %meld hei
halt
}
elseif (%server == ikke) {
set %idle hei
set %tid hei
set %server ikke
set %meld hei
halt
}
else {
echo -a ?··· $2 has been idle $duration(%idle)) $+ , signed on %server) $asctime(%tid,ddd mmm dd HH:nn:ss)
echo -a ?····?····? whois requsted ?····?····?
set %idle hei
set %tid hei
set %server ikke
set %meld hei
halt
}
}
raw 313:*:{
echo -a ?··· $2-
halt
}
raw 315:*:halt
|