Results 1 to 8 of 8

Thread: Help with setsettings()

  1. #1
    Normal User Matfly's Avatar
    Join Date
    May 2012
    Location
    Brazil
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Help with setsettings()

    Hello, i have been trying to use that action:

    Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled", 'yes')
    wait(1000,2000) else
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled", 'yes')
    wait(1000,2000) else
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled", 'yes')
    end
    It looks perfectly fine for me, but i just can't make it work, lol
    Any ideas ?
    Mat.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Try add updateworld() first.

  3. #3
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    What kind of condition are you trying to use? I mean you want to set those settings if there is a player on screen?


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  4. #4
    Normal User livascripts's Avatar
    Join Date
    Apr 2012
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    6
    try this one:

    PHP Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled"'yes')
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled"'yes')
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled"'yes'
    Last edited by livascripts; 08-12-2012 at 05:21 PM.

  5. #5
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    PHP Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled"'yes')
    wait(1000,2000) else
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled"'yes')
    wait(1000,2000) else
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled"'yes')
    end 
    tell me how it should work when you don't have IF condition?, that "else" and "end" just bugging that action. If you want put that setsettings into action on waypoints it should looks:

    PHP Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled"'yes')
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled"'yes')
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled"'yes'

  6. #6
    Normal User Matfly's Avatar
    Join Date
    May 2012
    Location
    Brazil
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    @Shade,
    Did not work :/
    Thanks anyway :>

    @blakw,
    I am trying to set those settings before going hunt. So, it will only work if i am already on respawn, got that ? xD

    @livascripts,
    Still not working :/
    Aff
    Thanks anyway ! :>

    @RafiXWPT,
    Tried that new one, and still not working :/
    Thanks for your help anyway :>


    I am getting mad
    Mat.

  7. #7
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    So try this. when entering the spawn after a specific waypoint (a stand or walk) add a action waypoint with the following:

    PHP Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled""yes")
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled""yes")
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled""yes"
    Then right before leaving spawn after a specific waypoint (a stand or walk) add another action waypoint with:

    PHP Code:
    setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound\\Enabled""no")
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\SoftBoots\\Enabled""no")
    wait(1000,2000)
    setsettings("Settings\\Refiller\\Rules\\DrakenBoots\\Enabled""no"


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  8. #8
    Normal User Matfly's Avatar
    Join Date
    May 2012
    Location
    Brazil
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    @blakw,
    It is now working, but it is (...\\PlaySound", "yesorno") instead of (...\\PlaySound\\Enabled", "yesorno").
    I was missing the 'specific waypoint' before the action :x
    Thanks a lot !!
    Mat.

Tags for this Thread

Posting Permissions

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