MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: notify() w/o newline



Nate Massey writes:
> Speaking of bf_notify(), it would be nice if it was possible to send
> a line to a character without sending the newline character.

This will be possible in 1.8.0alpha5, (ab)using its new general binary I/O
facilities:

	@verb $player:notify_without_newline tnt rdx #2
	@program $player:notify_without_newline
	set_task_perms(caller_perms());
	if (this in connected_players())
	  set_connection_option(this, "binary", 1);
	  notify(this, encode_binary(args[1]));
	  set_connection_option(this, "binary", 0);
	endif
	.

More details available in the ChangeLog.txt entry for the release when it
happens.  

Just trying to keep y'all interested... :-)

	Pavel


References:

Home | Subject Index | Thread Index