Skip to content

When calling a chain, there is no direct way to pass a user no #1687

@ericpareja

Description

@ericpareja

Some door scripts only need the userno.

Suggesting the following mod to add %V to pass the userno.

--- a/bbs/stuffin.cpp
+++ b/bbs/stuffin.cpp
@@ -110,6 +110,9 @@ std::string CommandLine::stuff_in() const {
       case 'U':
         os << a()->user()->name();
         break;
+      case 'V':
+       os << a()->user()->usernum();
+       break;
       // replacable params + everything else.
       default: {
         if (const auto it = args_.find(ch); it != std::end(args_)) {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions