SigServer:SignatureMath: Difference between revisions

Jump to navigation Jump to search
→‎fetchvar: Corrected return type and example
m (→‎Language Reference: Grammar fixes)
(→‎fetchvar: Corrected return type and example)
Line 205: Line 205:


==== fetchvar ====
==== fetchvar ====
  ''number'' '''fetchvar'''(''string'' variable);
  ''string'' '''fetchvar'''(''string'' variable);
Returns the variable given as an argument.
Returns the variable given as an argument.


Example:
Examples:
  @test1 = "Hi!"
  @test1 = "Hi!";
  fetchvar("test" + 1) // Returns "Hi!"
  fetchvar("@test" + 1); // Returns "Hi!"
 
@test2 = 1;
fetchvar("$latestwatched_id" + @test2 + "_aname");
//Returns the name of the latest anime you watched


==== if ====
==== if ====
128

edits

Navigation menu

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