classes/World.js
function(name, player, target) {
		if (!name) return;
		var that = this;
		if (!this.menus[name]) {
			var path;
			//If there's a target, we'll assume it's a conversation.
			if (target) path = this.scriptPath+name;
			else path = this.menuPath+name;
			this.loadFile(path, function(e,menu) {
				if (e) log_error(e);
				if (!menu) return;
				that.menus[name] = menu;
				player.enterMenu(menu, target);
			});
		} else {
			player.enterMenu(this.menus[name], target);
		}
	}
function(name, player, target) {
		if (!name) return;
		var that = this;
		if (!this.menus[name]) {
			var path;
			//If there's a target, we'll assume it's a conversation.
			if (target) path = this.scriptPath+name;
			else path = this.menuPath+name;
			this.loadFile(path, function(e,menu) {
				if (e) log_error(e);
				if (!menu) return;
				that.menus[name] = menu;
				player.enterMenu(menu, target);
			});
		} else {
			player.enterMenu(this.menus[name], target);
		}
	}
function ( name , player , target ) { if ( ! name ) return ; var that = this ; if ( ! this . menus [ name ] ) { var path ; //If there's a target, we'll assume it's a conversation. if ( target ) path = this . scriptPath + name ; else path = this . menuPath + name ; this . loadFile ( path , function ( e , menu ) { if ( e ) log_error ( e ) ; if ( ! menu ) return ; that . menus [ name ] = menu ; player . enterMenu ( menu , target ) ; } ) ; } else { player . enterMenu ( this . menus [ name ] , target ) ; } }
Target is optional.  In the event of a conversation, the target is
the NPC being conversed with.
Target is optional . In the event of a conversation the target is the NPC being conversed with .