Page 1 of 1

snotice

Posted: Mon Jan 26, 2009 4:02 am
by DragonRyder
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

Re: snotice

Posted: Mon Jan 26, 2009 5:59 am
by [dx]
well just use

Code: Select all

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

Re: snotice

Posted: Mon Jan 26, 2009 5:21 pm
by DragonRyder

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?

Re: snotice

Posted: Wed Jan 28, 2009 1:03 am
by [dx]
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.

Re: snotice

Posted: Wed Jan 28, 2009 8:31 am
by DragonRyder

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.

Re: snotice

Posted: Fri Mar 06, 2009 3:13 am
by Alucard