from labylib import Cap
What you can change:
Cap.Multi()
Manipulate cosmetic metadata.
What you can change:
Call subfunctions and submit changes by calling update()
cap = Cap.Multi(PHPSESSID)
# ...
cap.update()
Cap.Multi().color()
Takes a HEX-color string
mask.color("1655ff")
Cap.Multi().direction()
Takes a string "front" or "back"
cap.direction("front")
an int can also be passed as direction: front = 1, back = 0
Cap.Multi().template()
Takes a string with syntax from LabyMod Dashboard
cap.template(":P")
Will raise a ValueError if an invalid template is specified.
Cap.Visibility()
cap_vis = Cap.Visibility(PHPSESSID)
cap_vis.update("<VALUE>")
Hide or show the cosmetic.
| Action |
Value |
| Show |
"show" |
| Hide |
"hide" |
an int can also be passed as Visibile = True/False