GOLF(2gg)
π GOLF(2gg) β write-message
okay bestie, welcome to the GOLF(2gg) section of the manual (that's the Development corner of the docs, iykyk) πΈ
β¨ NAME β¨
write-message β the one that writes stuff into a message (it lives in the messages family π)
π― PURPOSE π―
Write a key/value pair into a message. that's it, that's the whole job, and it ate π
π SYNTAX π
write-message <message> key <key> value <value>
π DESCRIPTION π
so here's the tea, bestie: write-message appends a key/value pair onto <message>. the pair is made of the string <key> (that's the one sitting in the key clause) and the string <value> (that one's in the value clause). two little strings, one cute couple, added to the end of the message. periodt β¨
now for the rules, and you will respect the rules:
<message>must have been created withnew-messagefirst. nonew-message, no message, no vibes. π«Ά- to use
write-message, a message must not have been read from. (peepread-messageif you wanna know why.) so basically: write first, read later, main character order. π
lowkey important: if the message has already been read from, write-message is not the move. do not attempt. the manual said what it said. π
π EXAMPLES π
make a message, then write into it. iconic two-step:
new-message msg
write-message msg key "key1" value "value1"
look at her go π¦
π SEE ALSO π
Messagesβ the whole family, go say hi πget-messagenew-messageread-messageSEMIwrite-message- ...and honestly just go read all documentation, it's giving knowledge β¨
and that's a wrap, gorgeous π this page came to you courtesy of the $VERSION edition, dated $DATE, signed off under the GOLF(2gg) banner. mwah, go write some messages ππ
π¦ where this page comes from
- ubuntu questing: golf 601.4.41-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms