mIRC Home    About    Download    Register    News    Help

Print Thread
J
Janus
Janus
J
man i hate this
when i get notices they are in ALL channels and im gettin spammed to DEATH ffs...
could be in the next version maybe an extra notice window?... would be great and less spamming
greets

Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
Code:

on ^*:NOTICE:*:?:{
  if (!$window(@Notices)) window -ek @Notices
  echo $color(notice) -bflmrti2 @Notices $+(-,$nick,-) $1-
  haltdef
}
alias n {
  .notice $1 $$2-
  if (!$window(@Notices)) window -ek @Notices
  echo $color(notice) -bflmrti2 @Notices $+(-[to $$1,]-) $2-
}

/n <nick> <text>

[EDIT: corrected missing parentheses]

Last edited by Hammer; 13/01/03 04:10 PM.
Joined: Dec 2002
Posts: 341
D
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 341
That would be nice I think. Something built in so you don't have to keep uploading the script into every single mIRC version. It would be nice, but not necessary.

J
Janus
Janus
J
thx m8
but
Code:
 /if: invalid format (line 111, rest) 

mhh but works quite nice, an extra windows would be kewler but thats nice enuff wink
thx

~edit~
theres a bracket missing wink
Code:
 if (!$window(@Notices)) window -ek @Notices 

Joined: Jan 2003
Posts: 149
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 149
This is what I'm using

Code:
;      _  ___  _                       _       _    __  ______
;     | |/ _ \| | _____  ___  ___ _ __(_)_ __ | |_  \ \/ /  _ \
;  _  | | | | | |/ / _ \/ __|/ __| '__| | '_ \| __|  \  /| |_) |
; | |_| | |_| |   &lt;  __/\__ \ (__| |  | | |_) | |_   /  \|  __/
;  \___/ \___/|_|\_\___||___/\___|_|  |_| .__/ \__| /_/\_\_|
;                                       |_|
; DALNET MODULE
;
#dalnet on
;Chanserv
on ^*:NOTICE:*:?:{
  ;echo $+(@C,$cid) $1-
  if ($nick == $server) { echo $color(notice) -st $+([,$nick,], $1-) }
  if ($nick == ChanServ) || ($nick == NickServ) || ($nick == MemoServ) {
    if (!$window($+(@,$nick))) { window -Bemizvk[0] $+(@,$nick) }
    if ($1) { echo -t $+(@,$nick) $+([,$target,]) $1- | titlebar $+(@,$nick) $target }
    _hd
  }
}
on *:INPUT:@*serv:{
  $lower($left($remove($active,@),1) $+ s) $1-
}

menu *Nickserv {
  $style(2) $server:{}
  -
  identify $window(@Nickserv).title:{ .ns IDENTIFY $$?*="Password:" }
  register $window(@Nickserv).title:{ .ns REGISTER $$?*="Password:" $$?="@mail:" }
  -
  kill nick:{ .ns GHOST $$?="Enter nickname to ghost:" $$?*="Password:" }
  -
  drop nick?:{ .ns DROP $$?="Enter nickname to drop:" }
  -
  release nick:{ .ns RELEASE $$?="Enter nickname to release:" $$?*="Password:" }
}
menu *Chanserv {
  $style(2) $server:{}
  -
  identify $chan:{ .cs identify $$?="Enter channel:" $$?*="Password:" }
  register $chan:{ .cs register $$?="Enter channel:" $$?*="Password:" registered with J0kescript XP }
  -
  mass Kick/Ban:{ .cs mkick $$?="Enter channel:" }
  mass Deop:{ .cs mdeop $$?="Enter channel:" }
  -
  # info:{ .cs info $$?="Enter channel:" }
}
menu *serv {
  -
  clear:{ cls }
}

alias /cs {
  if (!$1) { echo -a ChanServ: Not enough parameters }
  else { /.msg ChanServ $1- }
}
alias /csh /cs help $1-
alias /csl /cs $1 #$2 list
alias /csi /cs identify #$1 $2
alias /csub /cs unban #$1 $2-
alias /csin /cs invite #$1 $2-
;Chanserv specific
alias /csop /cs op #$1 $2-
alias /csdop /cs deop #$1 $2-
;NickServ
alias /ns {
  if (!$1) { echo -a NickServ: Not enough parameters }
  else { /.msg NickServ $1- }
}
alias /nsh /ns help $1-
alias /nsi /ns identify $1
;MemoServ
alias /ms {
  if (!$1) { echo -a MemoServ: Not enough parameters }
  else { /.msg MemoServ $1- }
}
alias /msh /ms help $1-
alias /msl /ms list $1-
alias /msdel /ms del $1- 
;Specific
alias /dal { /mode #$1 + $+ $str($o,$modespl) $2- }
#dalnet end


_hd is custom alias for haltdef


Link Copied to Clipboard