/usr/share/kconf_update/konversation-0.20-quickbuttons.pl is in konversation-data 1.6-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | #! /usr/bin/perl
use strict;
my $button0 = "";
my $button1 = "";
my $button2 = "";
my $button3 = "";
my $button4 = "";
my $button5 = "";
my $button6 = "";
my $button7 = "";
while (<>)
{
chomp;
if ($_ =~ /^Button0/)
{
$button0 = $_;
}
if ($_ =~ /^Button1/)
{
$button1 = $_;
}
if ($_ =~ /^Button2/)
{
$button2 = $_;
}
if ($_ =~ /^Button3/)
{
$button3 = $_;
}
if ($_ =~ /^Button4/)
{
$button4 = $_;
}
if ($_ =~ /^Button5/)
{
$button5 = $_;
}
if ($_ =~ /^Button6/)
{
$button6 = $_;
}
if ($_ =~ /^Button7/)
{
$button7 = $_;
}
}
if ($button0 ne "")
{
print("# DELETE [Button List]Button0\n");
print("$button0\n");
}
else
{
print("# DELETE [Button List]Button0\n");
print("Button0=Op,/OP %u%n\n");
}
if ($button1 ne "")
{
print("# DELETE [Button List]Button1\n");
print("$button1\n");
}
else
{
print("# DELETE [Button List]Button1\n");
print("Button1=DeOp,/DEOP %u%n\n");
}
if ($button2 ne "")
{
print("# DELETE [Button List]Button2\n");
print("$button2\n");
}
else
{
print("# DELETE [Button List]Button2\n");
print("Button2=WhoIs,/WHOIS %s,%%u%n\n");
}
if ($button3 ne "")
{
print("# DELETE [Button List]Button3\n");
print("$button3\n");
}
else
{
print("# DELETE [Button List]Button3\n");
print("Button3=Version,/CTCP %s,%%u VERSION%n\n");
}
if ($button4 ne "")
{
print("# DELETE [Button List]Button4\n");
print("$button4\n");
}
else
{
print("# DELETE [Button List]Button4\n");
print("Button4=Kick,/KICK %u%n\n");
}
if ($button5 ne "")
{
print("# DELETE [Button List]Button5\n");
print("$button5\n");
}
else
{
print("# DELETE [Button List]Button5\n");
print("Button5=Ban,/BAN %u%n\n");
}
if ($button6 ne "")
{
print("# DELETE [Button List]Button6\n");
print("$button6\n");
}
else
{
print("# DELETE [Button List]Button6\n");
print("Button6=Part,/PART %c Leaving...%n\n");
}
if ($button7 ne "")
{
print("# DELETE [Button List]Button7\n");
print("$button7\n");
}
else
{
print("# DELETE [Button List]Button7\n");
print("Button7=Quit,/QUIT Leaving...%n\n");
}
|