Untitled
public text v1 · immutablealias accept {
if (%waiting. [ $+ [ $1 ] ] == yes) {
query $1 Pm Accepted
var %x = 1
while (%x < $lines(pmlog. $+ $1 $+ .txt)) {
echo $1 $read(pmlog. $+ $1 $+ .txt,%x)
inc %x
}
echo $1 9[ $+ $ME $+ 9] pm uptodate
;remove pmlog. $+ $1 $+ .txt
unset %waiting. $+ $nick
}
Else {
echo -a $1
echo -a 9[ $+ $ME $+ 9] That person isnt waiting for a response, make sure you typed the name right
}
}