Factoids should follow a standard way of parsing input rather than the multiple methods it uses now. I was thinking something like:
?cmd input1 | input2 | input3 | ...
The factoid parser would then pull the inputs into an array. If there is an %input% in the factoid, it will replace each one accordingly. Any extra inputs would then be prepended to the front of the factoid. For example:
?cmd kamal_ | reynir | mocx
Modubot: mocx: Ask kamal_ how to write factoid commands or checkout reynir's cool documentation here: http://reynirdoxxing.gov
Factoids should follow a standard way of parsing input rather than the multiple methods it uses now. I was thinking something like:
The factoid parser would then pull the inputs into an array. If there is an %input% in the factoid, it will replace each one accordingly. Any extra inputs would then be prepended to the front of the factoid. For example: