My 5 Windows IRC

By Ahmed Zaggoudi on May 08, 2011

Screenshots

Alt+R then put it
@Channels
@Kick/Bans
@Notices
@Clones
@Highlights

on 1:START:{
  echo -a Notices Window 3Active
  echo -a Channels Window 3Active
  echo -a Kicks/Bans Window 3Active
  echo -a Clones Window 3Active
  echo -a Highlights Window 3Active
}

on *:NOTICE:*:*: {
  if ($window(Notice)) && ($nick != $me)  {
    /window -k0 @Notice 
    /aline -n @Notice @Notice | echo @Notice 10[ $+ $time $+ ] 10[NOTICE] 14 $chan 4 $nick noticed you saying:12 
  } 
  elseif ($nick != $me) {
    /window -k0 @Notice 
    /aline -n @Notice @Notice | echo @Notice 10[ $+ $time $+ ] 10[NOTICE] 14 $chan 4 $nick noticed you saying:12 $1- 
  }
}

on 1:BAN:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Kicks/Bans
  /aline -n @Kicks/Bans @Kicks/Bans | echo @Kicks/Bans 10[ $+ $time $+ ] 10 10[BAN]14 $chan 4 $nick set mode12 $1- 
}
on 1:KICK:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Kicks/Bans
  /aline -n @Kicks/Bans @Kicks/Bans | echo @Kicks/bans 10[ $+ $time $+ ] 4[KICK]14 $chan 4 $nick kicked $knick 12: $1-
}
on 1:VOICE:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels 10[ $+ $time $+ ] 10[VOICE]14 $chan 4 $nick 7voiced12 $vnick
}
on 1:DEVOICE:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels 10[ $+ $time $+ ] 10[Devoice]14 $chan 4 $nick 7devoiced12 $vnick
}
on 1:HELP:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels  10[ $+ $time $+ ] 10[HALFOP]14 $chan 4 $nick 7halfoped12 $hnick
}
on 1:DEHELP:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels 10[ $+ $time $+ ] 10[DEHALFOP]14 $chan 4 $nick 7Dehalfoped12 $hnick
}
on 1:OP:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels 10[ $+ $time $+ ] 10[OP]14 $chan 4 $nick 7oped12 $opnick
}
on 1:DEOP:#:{
  if ($me isin $nick) { Halt }
  /window -k0 @Channels
  /aline -n @Channels @Channels | echo @Channels 10[ $+ $time $+ ] 10[DEOP]14 $chan 4 $nick 7deoped12 $opnick
}
###HL

on *:TEXT:*:#:$highcheck($1-)
on *:ACTION:*:#:$highcheck($1-)
alias -l highcheck {
  if ($regex($1-,/\Q $+ $me $+ \E/iS)) {
    /window -k0 @Highlights
    /aline -n @Highlights @Highlights | echo @Highlights 10[ $+ $time $+ ] 10[Highlight] 14 $chan 4 $nick Highlighted you 12: $1-
  }
}

on *:Join:#: {
  var %host_to_search_for = $address($nick,2)
  var %number_from_that_host = $ialchan(%host_to_search_for,$chan,0)
  if (%number_from_that_host > 1) {
    ;we have clones!
    ;first set up our vars and loop
    var %count = 0
    unset %clones
    :loop
    inc %count
    ;loop through every nick, adding the nicks to %clones
    var %clones = %clones $ialchan(%host_to_search_for,$chan,%count).nick
    if (%count < %number_from_that_host) { goto loop }
    /window -k0 @Clones
    //aline -n @Clones @Clones | echo @Clones 10[ $+ $time $+ ] 10[CLONES] 14 $chan 7-Clones Detected- 124 %count 7Clones From 12 $address($nick,2)
    //aline -n @Clones @Clones | echo @Clones 10[ $+ $time $+ ] 10[CLONES-Nicks] 14 $chan : 12 %clones
  }
}

Comments

Sign in to comment.
Ahmed Zaggoudi   -  May 09, 2011

Sorry :$

 Respond  
napa182   -  May 09, 2011

you could cut down on some of them events by using the rawmode event. 4/10

 Respond  
D34th   -  May 08, 2011

Agreed were is the screenshot man.

 Respond  
Sorasyn   -  May 08, 2011

Screeny?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.