snotice

These are old archives. They are kept for historic purposes only.
Post Reply
DragonRyder
Posts: 51
Joined: Tue Feb 21, 2006 5:02 am
Location: USA, OH
Contact:

snotice

Post by DragonRyder » Mon Jan 26, 2009 4:02 am

Hi, I have a question. Is there a list of all snotices sent by the unrealircd server listed anywhere?

I am a Network owner and an avid mIRC scripter.

I am trying to get every snotice sent by the Unreal3.2.7 added into an IRC Admin script i am currently writing.

Any help with this is greatly appreciated.

Thanks.
Ryu "The Dragon Master"
Network Owner

[dx]
Posts: 107
Joined: Sat Jun 16, 2007 1:03 am

Re: snotice

Post by [dx] » Mon Jan 26, 2009 5:59 am

well just use

Code: Select all

on ^*:SNOTICE:*: { haltdef | echo -a $timestamp * Snotice *** $1- }
and you'll match everyone :D

DragonRyder
Posts: 51
Joined: Tue Feb 21, 2006 5:02 am
Location: USA, OH
Contact:

Re: snotice

Post by DragonRyder » Mon Jan 26, 2009 5:21 pm

Code: Select all

on ^*:SNOTICE:*: { haltdef | echo -at * Snotice *** $1- }
to improve upon your little thing,

secondly the reason i ask if there is a list - i have intentions of redirecting certain Snotices into their own windows.

irc admin online - its own window

clients joining and exiting - its own window

server links and syncs - its own window

whois done on you - its own window

everything else into a final window of its own

So again I ask, Is there a list of all snotices sent by the unrealircd server listed anywhere?

[dx]
Posts: 107
Joined: Sat Jun 16, 2007 1:03 am

Re: snotice

Post by [dx] » Wed Jan 28, 2009 1:03 am

Well I suggest reading core for snotices or listen all notices, turn on all flags with snomask. I've tried to do that with @window.

Script was lil bugy at huge snotice receive. Like connection clones, script block for while.

DragonRyder
Posts: 51
Joined: Tue Feb 21, 2006 5:02 am
Location: USA, OH
Contact:

Re: snotice

Post by DragonRyder » Wed Jan 28, 2009 8:31 am

Code: Select all

alias snoticeprint {
  if ($window(@SNoticeView) == $null) { window -aebg2 @SNoticeView | .timer 1 0 window -abg2ek0 @SNoticeView }
  echo -t @SNoticeView $1-
  write $+($logdir,SNoticeView,$date(mm-dd-yyyy),.log) $strip($1-)
}
on ^*:SNOTICE:*: { haltdef | snoticeprint 02(12SNotice On $network $+ 02) 12 $+ $1- $+  }
that will work better than the last one i showed.

so kinda guessing there is no list laying around. ah well.

Alucard
Posts: 9
Joined: Fri Mar 06, 2009 3:12 am

Re: snotice

Post by Alucard » Fri Mar 06, 2009 3:13 am


Post Reply