I was thinking something like (lazy solution):
menu nicklist {
Slap RAND!:describe $chan slaps $$1 with $read(slaps.txt)
$iif(!$exists(slaps.txt),Install Slap RAND!):window @slaps.install | loadbuf $calc($lines($qt($script)) - 5) @slaps.install $qt($script) | savebuf $+(1-,$calc($line(@slaps.install, 0) - 1)) @slaps.install slaps.txt
}
/*
word 1
word 2
word 3
*/
\"a trojan condom\"
I must admit... that I do like that brand name.
Anyway, just a suggestion / request ?
Perhaps make a install alias that creates the text file? Then have an alias to add user-selected words to it. May make it easier for people to use (if they can\'t be bothered with your instruction). :)
Also seeing as you have a slap count (%slapc) is it worth including that on the message?