mIRC Home    About    Download    Register    News    Help

Topic Options
#230694 - 18/03/11 01:01 PM overview over all channels?
wrigsted Offline
Nutrimatic drinks dispenser

Registered: 18/03/11
Posts: 5
Is there a way to see what happens in more than one channel in one window in mirc?

Top
#230695 - 18/03/11 01:36 PM Re: overview over all channels? [Re: wrigsted]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
Technically, yes. You could write (or get written) a script that makes a custom window (/window) then captures the events (ACTION, NOTICE, TEXT) in the various channels, then puts the information into the custom window.

Personally, I think this could end up being very confusing, especially if you're on busy channels.

Top
#230710 - 18/03/11 06:17 PM Re: overview over all channels? [Re: RusselB]
wrigsted Offline
Nutrimatic drinks dispenser

Registered: 18/03/11
Posts: 5
Some clients have it and i find it very helpful, but there is so many other things i luv about mirc so if I could get both of them I would be a happy man. Writing a script by my self agghh... it could be done, but it would be nice if there was something out there so I did not have to do anything by my self, you know lazyness...

Top
#230729 - 18/03/11 10:59 PM Re: overview over all channels? [Re: wrigsted]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
There is the Scripting and Pop-Ups forum, though, technically, it's supposed to be a forum for helping with a script you have at least tried to write.

There's also a Snippet Request forum on Hawkee where you can request the snippet and have it done for you completely. Sometimes those requests take a few days, or longer, depending on the complexity of the request and the availability of a helper's time.

Top
#230732 - 18/03/11 11:21 PM Re: overview over all channels? [Re: wrigsted]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Code:
alias -l messagestyle { 
  if ($1 == text) { return $+(<,$chr(3),$cnick($nick).colour,$iif($chan && $left($nick($chan,$nick).pnick,1) isin $prefix,$v1),$nick,$chr(3),$colour(normal text),>) }
  elseif ($1 == action) { return * $nick }
  elseif ($1 == notice) { return $+(-,$chr(3),$cnick($nick).colour,$iif($chan && $left($nick($chan,$nick).pnick,1) isin $prefix,$v1),$nick,$chr(3),$colour(notice text),-) }
}
alias singlechannel { window $iif($window(@singlechannel),-a) @singlechannel }

on *:text:*:#:{
  if ($window(@singlechannel)) { echo -bcfilmrt "normal text" @singlechannel $chan -> $messagestyle($event) $1- }
}
on *:action:*:#:{
  if ($window(@singlechannel)) { echo -bcfilmrt "action text" @singlechannel $chan -> $messagestyle($event) $1- }
}
on *:notice:*:#:{
  if ($window(@singlechannel)) { echo -bcfilmrt "notice text" @singlechannel $chan -> $messagestyle($event) $1- }
}


Just type /singlechannel

Top
#230746 - 19/03/11 02:16 PM Re: overview over all channels? [Re: hixxy]
wrigsted Offline
Nutrimatic drinks dispenser

Registered: 18/03/11
Posts: 5
Very,very nice, thanks!! It was something like this i was hoping for blush
And also a thanks to the rest of you guys.

Top
#230757 - 19/03/11 08:43 PM Re: overview over all channels? [Re: hixxy]
wrigsted Offline
Nutrimatic drinks dispenser

Registered: 18/03/11
Posts: 5
hixxy:
This scrpit is so butiful, and well written it's almost make me cry. I don't know what more to say about this masterpiece of of scripting!

Top
#230762 - 20/03/11 12:45 AM Re: overview over all channels? [Re: wrigsted]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Haha no problem! smile

Top
#230769 - 20/03/11 06:01 AM Re: overview over all channels? [Re: wrigsted]
Tomao Offline
Hoopy frood

Registered: 07/07/07
Posts: 1129
Loc: United States
Could beautify it some more:
Code:
on *:text:*:#: sc
on *:action:*:#: sc
on *:notice:*:#: sc
alias -l sc {
  if ($window(@singlechannel)) { 
   echo -bcfilmrt $event @singlechannel $chan -> $messagestyle($event) $1- 
  }
}


Edited by Tomao (20/03/11 06:09 AM)

Top
#230811 - 21/03/11 07:22 AM Re: overview over all channels? [Re: Tomao]
wrigsted Offline
Nutrimatic drinks dispenser

Registered: 18/03/11
Posts: 5
Thanks Tomao, but what would this do? I try to put it in the script but can't see any difference and don't have the ability to decipher what it means blush
One thing that would be nice, if, when I write in a channel window that it would come up in /singlechannel to. I really don't remember if it did that in the start when I first ran it?
But is a great lurker script, I can run when I am doing something else and still know what happen on my favourite channels wink

Top
#230812 - 21/03/11 07:56 AM Re: overview over all channels? [Re: wrigsted]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Code:
on *:input:#:{
  if (!$inpaste) && ((!$istok(/ $readini($mircini,text,commandchar),$left($1,1),32)) || ($ctrlenter)) {
    if ($window(@singlechannel)) { echo -bcfilmrt "own text" @singlechannel $+(<,$chr(3),$cnick($me).colour,$iif($left($nick($chan,$me).pnick,1) isin $prefix,$v1),$me,$chr(3),$colour(own text),>) $1- }
  }
}

Top
#230822 - 21/03/11 05:02 PM Re: overview over all channels? [Re: wrigsted]
Tomao Offline
Hoopy frood

Registered: 07/07/07
Posts: 1129
Loc: United States
Originally Posted By: wrigsted
Thanks Tomao, but what would this do? I try to put it in the script but can't see any difference and don't have the ability to decipher what it means blush
There's nothing to decipher really. What I did was basically consolidate hixxy's script and make it lighter with less bytes is all. I actually forgot to include the $1- in each event. :p I see hixxy has added the input event as per your request, and this is yet another consolidation:
Code:
on *:input:#: sc $1-
on *:text:*:#: sc $1-
on *:action:*:#: sc $1-
on *:notice:*:#: sc $1-
alias -l sc {
  if ($window(@singlechannel)) { 
    if ($istok(text action notice,$event,32)) {
      echo -bcfilmrt $event @singlechannel $chan -> $messagestyle($event) $1- 
      halt
    }
    if (!$inpaste) && ((!$istok(/ $readini($mircini,text,commandchar),$left($1,1),32)) || ($ctrlenter)) {
    echo -bcfilmrt own @singlechannel $chan -> $+(<,$chr(3),$cnick($me).colour,$iif($left($nick($chan,$me).pnick,1) isin $prefix,$v1),$me,$chr(3),$colour(own),>) $1- }
  }
}
alias -l messagestyle { 
  if ($1 == action) { return * $nick }
  elseif ($1 == text) { 
    return $+(<,$chr(3),$cnick($nick).colour,$iif($chan && $left($nick($chan,$nick).pnick,1) isin $prefix,$v1),$nick,$chr(3),$colour(normal),>) 
  }
  elseif ($1 == notice) { 
    return $+(-,$chr(3),$cnick($nick).colour,$iif($chan && $left($nick($chan,$nick).pnick,1) isin $prefix,$v1),$nick,$chr(3),$colour(notice),-) 
  }
}
alias singlechannel { window $iif($window(@singlechannel),-a) @singlechannel }

Top