rendered paste bodyon *:text:!dwl*:#luckypc,#pcmasters,#sock,#Pcc:{
if ($nick ishop $chan) || ($nick isop $chan) {
if ($read(luckysam28.txt,w,$2)) && ($chan !isin $read(luckysam28.txt,w,$2)) {
var %p = $read(luckysam28.txt,s,$2)
delete luckysam28.txt $2 %p $chan
msg $chan $2 has been whitelisted on $chan $+ .
}
elseif ($read(luckysam28.txt,w,$2)) {
notice $nick $2 is already whitelisted on $chan $+ !
}
elseif (!$read(luckysam28.txt,w,$2)) {
delete luckysam28.txt $2 $chan
msg $chan $2 has been whitelisted on $chan $+ .
}
}
}