d-one 0 Posted December 17, 2017 Share Posted December 17, 2017 Hello! How save last LoadProfile? So example we have Profile 1 and 2. Loaded profile 2 and if bot stop/start again profile 1 Started Me need save settings in bot last load profile help pls Link to comment https://wrobot.eu/forums/topic/8021-how-save-last-loadprofile/ Share on other sites More sharing options...
Droidz 2738 Posted December 18, 2017 Share Posted December 18, 2017 Hello, use code like: Quester.Bot.QuesterSetting.Load(); if (Quester.Bot.QuesterSetting.CurrentSetting != null) { Quester.Bot.QuesterSetting.CurrentSetting.ProfileName = "nouveau nom de profil"; Quester.Bot.QuesterSetting.CurrentSetting.Save(); } Link to comment https://wrobot.eu/forums/topic/8021-how-save-last-loadprofile/#findComment-36777 Share on other sites More sharing options...
d-one 0 Posted December 18, 2017 Author Share Posted December 18, 2017 2 hours ago, Droidz said: Hello, use code like: Quester.Bot.QuesterSetting.Load(); if (Quester.Bot.QuesterSetting.CurrentSetting != null) { Quester.Bot.QuesterSetting.CurrentSetting.ProfileName = "nouveau nom de profil"; Quester.Bot.QuesterSetting.CurrentSetting.Save(); } Use in Action type-RunCode and not working ( It's work for 1.12.1? Link to comment https://wrobot.eu/forums/topic/8021-how-save-last-loadprofile/#findComment-36808 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now