HELP <file> [<more#>]

Would it be possible to add an append option for HELP files to instant scroll a certain number of more's?

HELP file [x]

So that HELP ARTEFACTS MISCELLANEOUS 4 would print:

19.10.5 Miscellaneous Artefacts

(see also HELP ARTEFACT TRADEINS and HELP ARTEFACT TRANSFERS)

Artefacts are special items that can be purchased only with Bound Credits.
Unless otherwise stated, artefacts can be purchased in Merentesh's series of
shops in Delos. They will reset into your inventory frequently, which means
they cannot be loaned out, or stolen(!), for very long. Some only work for
the owner. They never decay. They cannot be changed to reset to anyone
else's inventory, so do not buy artefacts of any kind if you intend to sell
them.


Note About Stacking
-------------------
Artefact effects (for similar artefacts) don't combine or stack. If you have,
say, a Collar of Ceylon and a Collar of Agatheis, then only one will boost
damage of a magical nature. If you have a Logosian Ring and a Mayan Ring, then
only one will increase the value of sipping a health elixir. In general, the
best item rules, but there may be exceptions. So don't count on having two
[Type MORE if you wish to continue reading. (4% shown)]
4202h, 5899m, 18000e, 23280w
[File continued via MORE]
give immunity to hunger attacks).

Brass cigar box: 100 credits
- Like a magic flowerpot or chocolate box, the box will regularly
produce up to six different kinds of cigar. The box will produce
one cigar per Achaean day and hold up to five at a time.

Brooch of the Tempest: 150 credits
- You will never be blown laterally while flying, or blown out of the
trees.

Cane of the Quickening: 300 credits.
- Lets you walk normally with one broken leg. Must be wielded.
While walking normally, you appear to be walking normally to those
that look on, and to yourself. Thus, no appearance of hobbling.

Chitin greaves: 700 credits
- When worn, allows the owner to LEAP like a Horkval.
The owner and wearer of the greaves must possess both balance and
equilibrium to begin a leap and may not be prone. Balance is used.
[Type MORE if you wish to continue reading. (15% shown)]


Basically the opening segment followed by the nth segment where n = x - 1.
I like my steak like I like my Magic cards: mythic rare.

Comments

  • You'd have to know exactly where you wanted to be in the file. I really can't see how this would be useful except on exceedingly rare occasions.

  • Alias: ^HELP (.+) (\d+)$
    (caps to help differentiate!)

    screen = matches[3]*20
    if tonumber(screen) > tonumber(250) then
    send("config screenlength 250")
    else
    send("config screenlength "..screen)
    end
    send("help "..matches[2])
    send("config screenlength 20")


    -- I don't know the right command for the screenlength :D
    Achieved dragon on the 13th of Aeguary, 634 - aged 21 and 1 month and 21 days.

    Elder dragon on the 6th of Chronos 635 - aged 22 and 8 months and 14 days.
  • Cathy said:

    Alias: ^HELP (.+) (\d+)$
    (caps to help differentiate!)

    screen = matches[3]*20
    if tonumber(screen) > tonumber(250) then
    send("config screenlength 250")
    else
    send("config screenlength "..screen)
    end
    send("help "..matches[2])
    send("config screenlength 20")


    -- I don't know the right command for the screenlength :D

    Cathy OP.




    Penwize has cowardly forfeited the challenge to mortal combat issued by Atalkez.
  • edited December 2013
    Cathy said:

    Alias: ^HELP (.+) (\d+)$
    (caps to help differentiate!)

    screen = matches[3]*20
    if tonumber(screen) > tonumber(250) then
    send("config screenlength 250")
    else
    send("config screenlength "..screen)
    end
    send("help "..matches[2])
    send("config screenlength 20")


    -- I don't know the right command for the screenlength :D

    send("config pagelength "..math.min(250, 20*matches[3]))

    Keep your keyboard happy by typing less!
  • I'm not sure if that's getting at the same thing I was thinking of but I guess the band-aid would be more like this, except it'd be just as much spam:

    ^help (.+) \+(\d+)$

    mores = matches[3] - 1

    send ("help " .. matches[2], false)
    expandAlias("morehelp", false)


    ^morehelp$
    send ("more", false)
    mores = mores - 1

    if mores>0 then
    expandAlias("morehelp", false)
    end

    Works just right except all the parts in between. I guess it would be neat if I could search alphabetically too.

    HELP ARTEFACTS MISCELLANEOUS +M, if I wanted to get straight to Medallion of Enchantments.
    I'm not clever enough with the regex to do that though.
    I like my steak like I like my Magic cards: mythic rare.
Sign In or Register to comment.