mIRC Home    About    Download    Register    News    Help

Print Thread
#121895 03/06/05 03:39 AM
Joined: Dec 2004
Posts: 87
I
Babel fish
OP Offline
Babel fish
I
Joined: Dec 2004
Posts: 87
hi
i'm a operator on a server and i see the events in status window. i would like the events to show in a event window and add an menu to it to use when i rightclick the channel in that window or the nick. how would i go aboute that ??

#121896 03/06/05 11:56 AM
Joined: Mar 2005
Posts: 74
D
Babel fish
Offline
Babel fish
D
Joined: Mar 2005
Posts: 74
I don't know what exactly you mean, but i think WALLOPS msgs.

( in mIRC: /help on wallops )

You can try:
Code:
on *:WALLOPS:*: {
  if !$window(@Events) { window -a @Events }
  aline @Events $nick at $time >> $1-
}
menu @Event {
  $style(2) Events { }
  -
  cmdshere
}

This isn't very complete, but should/could give you an first idea of how to do so.

#121897 03/06/05 06:06 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
you will most likely want to use a combination of raw numeric snotice and notice events to capture all the different messages sent to you as an ircOP

to see what the numeric is for a message you can add this to a remote file, maybe the one you will be making to deal with the messages
#showraw on
raw *:*:echo 4 -a $numeric $2-
#showraw end

to turn on /enable #showraw
to turn off /disable #showraw

for more information
/help on snotice
/help on notice
/help raw

once you have decided what you want to display in a custom @window you can write the scripting for each event

you might even consider using a dialog window instead of a @window as you could have the various data sorted by type and how you want to use it.


Link Copied to Clipboard