[PENNMUSH] Preserving % at input
kahmy at cal.berkeley.edu
kahmy at cal.berkeley.edu
Wed Feb 9 16:07:17 CST 2005
On Tue, 8 Feb 2005, Jason Newquist wrote:
> Greetings!
>
> We've had a nagging problem on my social MUSH for a while now, and I
> thought I might present it here to see if anyone can help crack it.
>
> We have some code which allows people to simply paste a URL into the
> MUSH, thus:
>
> &WWW3_CMD Globals = $http*: @tr me/url_code =
> http%0, %N, %#
...
> Is there anything we can do to preserve percentages given at input
> time, before they're evaluated and thus vanish?
>
> Jason Newquist
> San Francisco Bay Area
A lot of the other suggestions sound good, but when in doubt, you can
always use the nuclear option and implement a hard code command. Doing
no-eval in hard code is as simple as passing the right parameter to
command_add(), and the command you want looks straightforward to add
(well, other than the trigger).
Sometimes I wish it were a little easier to specify no-eval behavior;
maybe a no-eval user mode, if you're not a big coder anyway and never
purposefully use the PennMUSH evaluator.
More information about the Pennmush
mailing list