a think he means like this :-
alias pgs.bannedwords {
var %a = 1,%b = $3-,%c = $lines(pgs.banwords.txt)
while (%a <= %c) {
if ($read(pgs.banwords.txt,%a) iswm %b) {
mta.pm $1 $2 Auto-Muted 60 seconds. Reason: Vulgarity
mta.mute $1 $2
.timer 1 2 mta.pm $1 $2 $+(',$read(pgs.banwords.txt,%a),') Is A Banned Word!
.timerunmute 1 60 mta.unmute $1 $2
!hadd pgstemp cuss $+ $2 $rand(100,1000)
.timercuss $+ $2 1 60 !hdel pgstemp cuss $+ $2
}
!inc %a
}
}