Difference between revisions of "Category talk:Scripting"

Jump to navigation Jump to search
44 bytes removed ,  20:19, 4 April 2006
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> (or <tt>else if</tt>, whichever ''Oblivion'' uses) require conditions:
:<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>.) &mdash;[[User:Simetrical|Simetrical]] ([[User_talk:Simetrical|talk]]&nbsp;&bull;&nbsp;[[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>.) &mdash;[[User:Simetrical|Simetrical]] ([[User_talk:Simetrical|talk]]&nbsp;&bull;&nbsp;[[Special:Contributions/Simetrical|contribs]]) 21:13, 4 April 2006 (EDT)
Anonymous user

Navigation menu