A simple script like
returns "Unable to invoke s", and does some funky stuff with the fight (For some reason, it uses two ovoid leather things, even though I don't have that anywhere in my CCS.)
Just moving the filter function outside of the main function works just fine, though.
(Also, I'm not sure this is the place to put it, but "skill #" gets converted into "attack with weapon" in practice. Also a bug?)
PHP:
void main() {
string s(int round, string opp, string text) {
return "skill fearful fettucini";
}
adventure(1,$location[library],"s");
}
Just moving the filter function outside of the main function works just fine, though.
(Also, I'm not sure this is the place to put it, but "skill #" gets converted into "attack with weapon" in practice. Also a bug?)