×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Lua
Posted by: Quentin Gasparotto
Added: Jun 26, 2016 11:30 AM
Views: 2004
Tags: lua
  1.     if (code == pendingAction) then
  2.         if (code == BRODCAST) then
  3.             if (answer == "ok") then
  4.                 pendingAction = NONE;
  5.             end
  6.         elseif (code == INCANTATION) then
  7.             if (answer == "elevation en cours" or answer == "ko") then
  8.                 pendingAction = NONE;
  9.             end
  10.         elseif (code == EXPULSE) then
  11.             if (answer == "ok") then
  12.                 pendingAction = NONE;
  13.             end
  14.         else
  15.             pendingAction = NONE;
  16.         end
  17.     end
  18.