. PluralKit Front
The first one sets the text of an element with the id
#front to a comma separated string of the current fronters. Make sure to change the
sysid variable to the id of the system you want!
The second one sets the text of the element with the same id as before (
#front again), but also checks if a certain member is fronting, and displays different text based on that.
The second is the code used in Radian's card at the moment. Also change the
memberid variable to the correct member id, as well as the system id.
No need to credit us for this, these scripts are free for you to use or edit.
(The examples use a modified version of both scripts which basically combines them into one, in order to avoid making two api calls at once.)