AniDB O'Matic - Documentation: Local file renaming: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
* Simplest form: "[?lg]" -> "?G"
* Simplest form: "[?lg]" -> "?G"
* More advanced example: "?if(lg<><nowiki>''</nowiki>, '['+lg']', if(sg<><nowiki>''</nowiki>, '['+sg']', '[RAW]'))" -> "?G"
* More advanced example: "?if(lg<><nowiki>''</nowiki>, '['+lg']', if(sg<><nowiki>''</nowiki>, '['+sg']', '[RAW]'))" -> "?G"
Note that custom tags are essentially translated to ?set commands. Aka, "[?lg]" -> "?G" would translate to "?set('G', '['+lg+']')".


'''Default tags'''<br />
'''Default tags'''<br />