Page 21 of 21 FirstFirst ... 11 19 20 21
Results 201 to 203 of 203

Thread: auto BHH and friends

  1. #201
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,750

    Default

    When I run this I get

    Attachment 9046

    What is string param?
    Originally Posted by taltamir View Post

    The "main(string param)" function of the script has a badly named parameter. Mafia is asking you for a value for that parameter. It should be one of list, abort, cancel, hard, best, smallest, small, optimal, go, *.

    You could have also ran it like on of
    Code:
    call ascripts\bounty.ash *
    call bounty.ash *
    call bounty *
    bounty.ash *
    bounty *

  2. #202
    Junior Member
    Join Date
    Oct 2017
    Posts
    16

    Default

    The "main(string param)" function of the script has a badly named parameter. Mafia is asking you for a value for that parameter. It should be one of list, abort, cancel, hard, best, smallest, small, optimal, go, *.

    You could have also ran it like on of
    Code:
    call ascripts\bounty.ash *
    call bounty.ash *
    call bounty *
    bounty.ash *
    bounty *
    Originally Posted by xKiv View Post
    I am not quite sure I understand. Are you saying the script is bugged with current version, but that this bug can be worked around by calling it using the commands you listed, and that once doing so everything else would work?

  3. #203
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,750

    Default

    I am not quite sure I understand. Are you saying the script is bugged with current version, but that this bug can be worked around by calling it using the commands you listed, and that once doing so everything else would work?
    Originally Posted by taltamir View Post
    The script isn't bugged. It needs you to tell it what you want it to do.


    I am saying that

    1) the script could be improved by renaming the parameter. Then the prompt wouldn't ask you to input a value for "string param", but, for example, for "string what_to_do". That might reduce confusion.

    2) alternatively, you can give that value directly when calling the script from gCLI (that's all those commands I listed. Just pick one.)

    3) "*" is just one possible value you can use there. But it's probably the one you want. I think.

Similar Threads

  1. make friends support -- We miss our friend, Zarqon!
    By zekaonar in forum Scripting Discussion
    Replies: 24
    Last Post: 07-24-2014, 10:43 PM
  2. Bug - Fixed Chat command '/clannies' filters only friends
    By Lxndr in forum Bug Reports
    Replies: 3
    Last Post: 12-04-2012, 09:36 PM
  3. Bug - Not A Bug get_path() & friends
    By StDoodle in forum Bug Reports
    Replies: 11
    Last Post: 11-02-2010, 05:18 PM
  4. 7887 - Recognize /f shorthand for /friends
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 12-17-2009, 06:10 AM
  5. changing friends/ignore list
    By upthedale in forum Scripting Discussion
    Replies: 0
    Last Post: 05-11-2007, 01:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •