hexchat
pub fn set_pref_string(name: &str, value: &str) -> Result<(), ()>
Saves a plugin preference string to file. Returns Ok if it succeeded, or Err if there was an IO error.
Ok
Err