Thread:LunaBot/@comment-3474542-20130729011703

For levels, you need to do a couple steps... First, you need to convert the parameters. Then you can do a simpler find/replace. The first part should read:

RULE IF = "level_req_type3" SUBRULEFIND \|\s*?(a|au|c|f|j|s|z|other)Level\s*?=\s*?(\d+)/) REPLACE

A result from this means that someone would need to be notified to add a 4th parameter to the infobox.
 * level_req_type4 = $1
 * level_req_amt4 = $2

RULE IFNOT = "level_req_type3" SUBRULE IF = "level_req_type2" SUBRULE IF = "level_req_type1" SUBRULEFIND \|\s*?(a|au|c|f|j|s|z|other)Level\s*?=\s*?(\d+)/) REPLACE


 * level_req_type3 = $1
 * level_req_amt3 = $2

RULE IFNOT = "level_req_type3" SUBRULE IFNOT = "level_req_type2" SUBRULE IF = "level_req_type1" SUBRULEFIND \|\s*?(a|au|c|f|j|s|z|other)Level\s*?=\s*?(\d+)/) REPLACE


 * level_req_type2 = $1
 * level_req_amt2 = $2
 * level($1) = $2

RULE IFNOT = "level_req_type3" SUBRULE IFNOT = "level_req_type2" SUBRULE IFNOT = "level_req_type1" SUBRULE FIND \|\s*?(a|au|c|f|j|s|z|other)Level\s*?=\s*?(\d+)/)

REPLACE


 * level_req_type1 = $1
 * level_req_amt1 = $2
 * level($1) = $2

After you have replaced those parameters, you will only need to find replace:

FIND level_req_type1 = au

REPLACE level_req_type1 = aussie

etc 