Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Jan 2014
    Posts
    1
    Reputation
    10
    Rep Power
    0

    Change walking method via setsetting()

    Hello, i must be doing something wrong i cant get it to work, could someone help me please , i want the bot to change walking method when i get message "there is no way."


    Code:
    foreach newmessage m do
    								if m.content:match('There is no way.') then
    setsetting('Cavebot/Walking Method' ,'Walk With Arrow Keys')
    end
    end

  2. #2
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    There's a space between 'Walking' and 'Method'.
    Remove that.

 

 

Posting Permissions

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