rmmh / skybot

Python IRC bot
https://github.com/rmmh/skybot/wiki
The Unlicense
249 stars 170 forks source link

.remember plugin variables #8

Closed avidal closed 13 years ago

avidal commented 13 years ago

It's a simple patch to allow the user to reference the original value for the word by using $

If there is no original value, the input string is not changed at all. Only the first occurrence of $ will be replaced, all subsequent occurrences will be left as-is.

avidal commented 13 years ago

Apparently github munged my comment. All occurrences of $ in the original comment should be $[word]

rmmh commented 13 years ago

I don't find the use case for this very compelling.