Difference between revisions of "Category talk:Scripting"
Jump to navigation
Jump to search
m
Corrected scripting
imported>Simetrical m (Misplaced parenthesis) |
imported>Simetrical m (Corrected scripting) |
||
Line 26: | Line 26: | ||
That's because else if implies some other condition. Try else instead of else if.--[[User:Tegid|Tegid]] 12:51, 4 April 2006 (EDT) | That's because else if implies some other condition. Try else instead of else if.--[[User:Tegid|Tegid]] 12:51, 4 April 2006 (EDT) | ||
:<tt>if</tt> and <tt>elseif</tt> | :<tt>if</tt> and <tt>elseif</tt> require conditions: | ||
if (condition) | if (condition) | ||
effect | effect | ||
Line 33: | Line 33: | ||
else | else | ||
effect | effect | ||
endif | |||
:Note the presence of the condition for both <tt>if</tt> and <tt>elseif</tt>; this is mandatory, and if it's omitted and still compiles, that's a compiler bug. (By the way, use four tildes to sign: <nowiki>~~~~</nowiki>.) —[[User:Simetrical|Simetrical]] ([[User_talk:Simetrical|talk]] • [[Special:Contributions/Simetrical|contribs]]) 21:13, 4 April 2006 (EDT) | :Note the presence of the condition for both <tt>if</tt> and <tt>elseif</tt>; this is mandatory, and if it's omitted and still compiles, that's a compiler bug. (By the way, use four tildes to sign: <nowiki>~~~~</nowiki>.) —[[User:Simetrical|Simetrical]] ([[User_talk:Simetrical|talk]] • [[Special:Contributions/Simetrical|contribs]]) 21:13, 4 April 2006 (EDT) |