Advertisement
lepuspfelix

thingywotsit

Sep 28th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. event(OnHighlight,highlightwin)
  2. {
  3. if ($0 == "*buffextras") {
  4. return;
  5. }
  6.  
  7. if (!%Highlight{$context} || !$window.exists(%Highlight{$context})) {
  8. %Highlight{$context} = $window.open("m", "Highlights", $context, 110);
  9. }
  10.  
  11. if ($window.type == "channel") {
  12. %target = $target;
  13. } else {
  14. %target = [query];
  15. }
  16.  
  17. if (!$6) {
  18. echo -w=%Highlight{$context} -i=$msgtype(privatemessage) %target <$link($0, nick)> $3;
  19. } else {
  20. echo -w=%Highlight{$context} -i=$msgtype(action) %target $link($0, nick) $3;
  21. }
  22. }
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement