BEGIN ~BHPERK~

IF ~NumberOfTimesTalkedTo(0)~ THEN BEGIN 0
  SAY @0
  IF ~~ THEN REPLY @1 GOTO 2
  IF ~~ THEN REPLY @2 GOTO 3
  IF ~~ THEN REPLY @3 GOTO 1
END

IF ~~ THEN BEGIN 1
  SAY @4
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2
  SAY @5
  IF ~~ THEN REPLY @6 GOTO 3
  IF ~~ THEN REPLY @7 GOTO 1
END

IF ~~ THEN BEGIN 3
  SAY @8
  IF ~~ THEN DO ~StartStore("BHPERK",LastTalkedToBy(Myself))~ EXIT
END

IF ~True()~ THEN BEGIN 4
  SAY @9
  IF ~~ THEN REPLY @10 GOTO 3
  IF ~~ THEN REPLY @7 GOTO 1
END
