Board Thread:Support Requests - Getting Technical/@comment-1357348-20180625234154

Is it possible to use a bot in conjunction with something like an if statement?

What I'm trying to do is see if a bot can look at a parameter in a template (or just something on a page), and add a category based off of that.

For example, it would look at the page, see "|p = 150", and from that, add the category "Pages with p from 100 to 190". Or, alternately, see "|v = 20" and add "Pages with v from 0 to 90", and etc. I can do all this manually, but if a bot could help me with it, it would save a lot of time (~1000 pages).

I've only used AWB with just a simple find and replace, so I don't know exactly what Wikiabots can and can't do, so sorry if this is something simple I've overlooked.

Thanks, Abce2 | Talk  Contributions 23:41, June 25, 2018 (UTC) 