information @window

By ZiX on Feb 27, 2008

This Shows Modes,notices,kicks,topic/changes, in a seperate window

;;================Information/@window=================|
;;Created by zix
;;====================================================|
menu channel,nicklist,menubar {
  Inform @Window
  .Turn - On:/enable #inform | echo -s 12-0>14 Information @Window Activated
  .Turn - Off:/disable #inform | echo -s 12-0>14 Information @Window DeActivated
}
#inform on
on ^*:RAWMODE:#:{
  window @Information 0 0 450 160 arial 13
aline @information   $time(12(15h14:15nn TT12)) 4*** 0 $nick 14Set Mode0 $1- 15on0 #  
haltdef
}
on ^*:snotice:*:{
window @Information 0 0 450 160 arial 13
aline @information $time(12(15h14:15nn TT12)) - | aline @information  $time(12(15h14:15nn TT12)) 4*** 12(15 $+ $server $+ 14/15 $+ $serverip $+ : $+  $port $+ 12)0:14  $2- | aline @information $time(12(15h14:15nn TT12)) -
}
on ^*:notice:*:*:{
window @Information 0 0 450 160 arial 13
aline @information $time(12(15h14:15nn TT12)) - | aline @information  $time(12(15h14:15nn TT12)) 4*** 12(14Notice12)14From0:14 $nick 0- 12(14msg12)0: $1-  | aline @information $time(12(15h14:15nn TT12)) -
}
on ^*:invite:*:{
window @Information 0 0 450 160 arial 13
if ($activecid == $cid) {
  aline @information $time(12(15h14:15nn TT12)) 4*** 12(14Invite12)0 $nick 14Invites you to join0 #
  haltdef
}
if ($activecid != $cid) {
  aline @information $time(12(15h14:15nn TT12)) 4*** 12(14Invite12)0 $nick 14Invites you to join0 #
  haltdef
}
}
on ^*:topic:*:{
window @Information 0 0 450 160 arial 13
if ($1-) {
  aline @information $time(12(15h14:15nn TT12)) 4*** 12(14Topic12)0 $nick 14 Changed Topic On0 #  
  aline @information $time(12(15h14:15nn TT12)) 4*** 12(14Topic12)14 Changed To0: " $+ $1- $+ 0"
}
if (!$1-) {
  aline @information  $time(12(15h14:15nn TT12)) 4*** 12(14Topic12)0 $nick 14 Changed Topic On0 #  
  aline @information $time(12(15h14:15nn TT12)) 4*** 12(14Topic12)14 Changed To0: 0"Topic Is Blank (N/A)0"
}
haltdef
}
on ^*:KICK:#:{  
window @Information 0 0 450 160 arial 13
if ($knick == $me) && ($1- != $nick) { aline @information   $time(12(15h14:15nn TT12)) - | aline @information   $time(12(15h14:15nn TT12)) 4*** 14You Got Kicked From0 # 14By:0 $nick | aline @information $time(12(15h14:15nn TT12)) 14Reason:0 $1- | aline @information $time(12(15h14:15nn TT12)) - }
if ($knick == $me) && ($1- == $nick) { aline @information    $time(12(15h14:15nn TT12)) - | aline @information   $time(12(15h14:15nn TT12)) 4*** 14You Got Kicked From0 # 14By:0 $nick | aline @information $time(12(15h14:15nn TT12)) 14Reason:0 ^(No Reason Specified)^ | aline @information $time(12(15h14:15nn TT12)) - }
if ($knick != $me) && ($1- != $nick) { aline @information  $time(12(15h14:15nn TT12)) - | aline @information  $time(12(15h14:15nn TT12)) 4*** 0 $+ $knick 14Got Kicked From0 # 14By:0 $nick | aline @information $time(12(15h14:15nn TT12)) 14Reason:0 $1- | aline @information $time(12(15h14:15nn TT12)) - }
if ($knick != $me) && ($1- == $nick) { aline @information  $time(12(15h14:15nn TT12)) - |  aline @information  $time(12(15h14:15nn TT12)) 4*** 0 $+ $knick 14Got Kicked From0 # 14By:0 $nick | aline @information $time(12(15h14:15nn TT12)) 14Reason:0 ^(No Reason Specified)^ | aline @information $time(12(15h14:15nn TT12)) - }
}
menu @information* {
-
Close Window:window -c $window(@information*,1)
Clear Window:clear $window(@information*,1)
-
}
#inform end
Sign in to comment.
Scakk   -  Feb 27, 2008

Yes you can Darkkeeper

/log [-f filename]

Turns logging on and off for a window, if you specify a filename the logs file dialog is not popped up.

 Respond  
Darkkeeper   -  Feb 27, 2008

only thing i dont like about @ windows is you cant log anything done in them

 Respond  
ZiX   -  Feb 27, 2008

Thanks for the idea, napa182.

 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.