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

Line 392: Line 392:
|-
|-
|et(lang)||text||Returns an episode title in '''lang'''. '''lang''' can be either a text or a number.<br>Example: et(2) = japanese title<br>Example: et('en') = english title
|et(lang)||text||Returns an episode title in '''lang'''. '''lang''' can be either a text or a number.<br>Example: et(2) = japanese title<br>Example: et('en') = english title
|-
|getanime(name, id)||object||Sets the variable '''name''' to the anime object for '''id'''.
|-
|getepisode(name, id)||object||Sets the variable '''name''' to the episode object for '''id'''.
|-
|-
|if(test, trueval[, falseval])||any||If statement, returns '''trueval''' if '''test''' is true, otherwise returns '''falseval'''.<br> Example: if(23=23, 'equal', 'not equal') = 'equal'
|if(test, trueval[, falseval])||any||If statement, returns '''trueval''' if '''test''' is true, otherwise returns '''falseval'''.<br> Example: if(23=23, 'equal', 'not equal') = 'equal'
254

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.