Quick question
![]() ![]() |
So i've never made a menu for my scripts before and am having one, pretty simple, problem. How do i have the option from the settings affect the script? For example
and if it's true it does this:
if (floatnav == true){
// do this code
}
So i want to know is how do i make this happen? Thanks for any help,
|
![]() ![]() |
Hi, the values are stored the same way as if you used GM_setValue. So you can get the value with GM_getValue. You can also use USP.getValue especially when you need to retrieve array values (which is not completely possible using GM_getValue).
if (GM_getValue('floatnav') == true){
// do this code
}
|

