I've created a small plugin that selects a random .cfg file from the themes folder.
I've written the code all the way up to the point where it selects a random .cfg file but I can't find the way to actually execute it. I've tried:
open(const char* pathname, int flags);
and that seems to open the file for actual reading.
set_current_file(char* path);
I tried this one too and it doesn't work. I'm not sure what it does...
Any help would be greatly appreciated. I've been toiling on this plugin for 3 long, hard days considering I don't know C I'm kinda proud of what I've accomplished but I just wanna get this thing working and behind me. Thank you.