By | fr33domlover |
At | 2016-01-27 |
Title | Write missing !info topics |
Description |
Edit file src/FunBot/Commands/Info.hs 33188 → 33188
243 243 \send a message containing BUG142, I will send \
244 244 \http://bug.org/142.html into the channel. See the !add-shortcut and \
245 245 \!delete-shortcut commands, and relevant settings."
246 246 )
247 247 , ( "locations"
- 248 , "TODO ask fr33domlover to write this!"
+ 248 , "I maintain a simple key-value mapping, where both keys and values \
+ 249 \are text. The intended usage (but certainly not the only usage \
+ 250 \possible) is to map short labels to URLs, therefore I call this \
+ 251 \mapping the location map, or the Where map. There is a single \
+ 252 \“global” map and each channel has its own map too. When searching \
+ 253 \for a given label I go to the per-channel map, and if I can’t find \
+ 254 \the label there, then I check in the global map. The commands for \
+ 255 \querying the location map are !where, !lwhere and !gwhere. The \
+ 256 \commands for adding and removing locations are !lwhere+, !gwhere+, \
+ 257 \!lwhere- and !gwhere-. It’s also possible to view and modify the map \
+ 258 \values (the URLs) using the settings system (e.g. !get and !set)."
249 259 )
250 260 , ( "puppet"
- 251 , "TODO ask fr33domlover to write this!"
+ 261 , "I have a puppet system which allows IRC users to send arbitrary \
+ 262 \messages through me. This can be useful for manually identifying me \
+ 263 \with NickServ and probably for various hacks. But this feature may \
+ 264 \also be dangerous, therefore it has some safety mechanisms and in \
+ 265 \general you should use it with care. It works as follows: There are \
+ 266 \lists of “puppeteers”, which are users who can use the puppet \
+ 267 \system. There’s one global list for users who can use the system in \
+ 268 \any channel, and there are per-channel lists, in which users can use \
+ 269 \the system only in the channel where they’re listed. The users in \
+ 270 \the global list can also use the system in private messages. Once \
+ 271 \you’re a puppeteer, you can start puppet mode using the \
+ 272 \!puppet-start command. Then you can use !puppet-say or !puppet-echo \
+ 273 \to ask me to send your message. Finally, use !puppet-end to turn off \
+ 274 \puppet mode. TODO at the time of writing there are no commands yet \
+ 275 \for private puppet mode. There are also no commands for managing the \
+ 276 \puppeteer lists: This requires access to my JSON state files."
252 277 )
253 278 ]
254 279 255 280 respondInfo
256 281 :: Maybe Channel
… … … …