Description Buddy
This tool will only take up one action, and store
action-setting props on yourself under the /de/
directories. Basically this tool when configured adds a
'frame' around the top and bottom of the description. It
is helpful for users who wish to make their descriptions
without having to worry about adding a frame themselves,
and faster all around. Here is an example of one:
>- -<>-
-<>- -<>- -<>- -<>- -<>-
-<>- -<>- -<>- -<>- -<
DESCRIPTION HERE
>- -<>- -<>- -<>- -<>-
-<>- -<>- -<>- -<>- -<>-
-<>- -<
You can get many effects
such as above with this tool.
Here is a cut and paste installation of the code:
@act
+d;+pad;+far;=me
@lin +d=$nothing
@su +d={if:{eq:{&arg},#help},{lexec:help.txt,+d},{eval:{prop:{&cmd}}}}
@set +d=/+pad:{store:{&arg},de/pad,+d} Is now the pad-string.
@set +d=/+far:{if:{isnum:{&arg}},{store:{&arg},de/far,+d} Is now the feild-width.,That is not a number!}
@set +d=/+d:{if:{eq:{owner:here},*{name:me}},{store:{center:,{prop!:de/far,+d},{prop!:de/pad,+d}}{nl}{&arg}{nl}{center:,{prop!:de/far,+d},{prop!:de/pad,+d}},_/de,here}{nl} ---Set as _/de prop!,You don't own this room!}
@set +d=/de/pad:-
@set +d=/de/far:60
@set +d=/help/help:&{lexec:help.txt,+d}
@set +d=/help.txt#/1:+d\, by Drakain.
@set +d=/help.txt#/2:{nl}Useage:
@set +d=/help.txt#/3:{nl} +d
@set +d=/help.txt#/4:{nl} +pad [<padstring>] -- Set the padstring (pattern).
@set +d=/help.txt#/5:{nl} +far [<feildwidth>] -- Set the legenth of the padstring.
@set +d=/help.txt#/6:{nl} Version 1.7
Use any command and '#help' to access the help file. Or even '+help +d' for the help file.
Advanced users
may wish to modify the code to their own
preference.
Side note: I
plan on making another version of this script
(it will not replace this one, but be on here
also) that can update either the boarders or
desc independantly of the other.
This is version 1.7