Results 1 to 2 of 2

Thread: How do you add a friend to friendlist in Healbot2020

  1. Default How do you add a friend to friendlist in Healbot2020

    I hope the title is self explanatory .

    I am ruby/lich challenged.

    I tried by making the following changes

    #You will automatically heal these people when they run into the room.
    #Pinipin focuses on Azanoth with intense concentration.
    friendlist = /xxxxxxxx|xxxxxxxx/


    but I get the following error message

    --- Lich: error: undefined method `include?' for /xxxxxx|xxxxxx/:Regexp
    Healbot2020:318:in `block in script'
    Healbot2020:217:in `loop'
    --- Lich: Healbot2020 has exited.


    Anyone able to help?

    Thanks in advance
    My dad always told me not to argue with fools or drunks. And I don't smell alcohol on your breath.

  2. #2

    Default

    It looks like friendlist is an Array so it would be like this:

    friendlist = [ "Bob", "Jim", "Mary", "Etc" ]

Posting Permissions

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