Switch to edit mode.
Name(s): place1: if (dobjstr in this.balls)
2: player:tell("That ball is already on the table!")
3: elseif (dobjstr in this.rackfor8ball)
4: player:tell("You put the " + dobjstr + " ball back on the table.")
5: this.location:announce(player.name + " puts the " + dobjstr + " ball back on the table.")
6: this.balls[toint(dobjstr)] = dobjstr
7: this.ballsontable = this.ballsontable + 1
8: else
9: player:tell("That does not seem to be a valid ball.")
10: endif
11: "Last modified by Dax (#789) on Tue May 3 14:12:30 2005 MDT."