ScriptUO
Scripting Resources & Utilities => OEUO => OpenEUO Scripting Chat => Topic started by: Masscre on October 14, 2010, 07:22:55 AM
-
What parts of OEUO are actually currently working and which where broken after the current patch? Also which have always been broken? I am trying to get somethings to work and am having alot of difficulty but other parts work fine.
-
post what you got... I belive everything is working except some issues with menuing.. ask tm about those i dont know.
Rember in LUa syntax is everything .. its kinda unforgiving
MrK <> mrk
UO.Macro(17,0) -- correct
uo.macro(17,0) -- incorrect that is not a command... captilization is important.
-
Rember in LUa syntax is everything .. its kinda unforgiving
Was capitalization such a huge deal for EUO scripts? Just curious
-
Rember in LUa syntax is everything .. its kinda unforgiving
Was capitalization such a huge deal for EUO scripts? Just curious
No, EUO is/was case-insensitive.
-
But in euo you couldnt write sweet little subs like this
function iff(nCondtion, nPostiveResult, nNegativeResult) -- By EN Oct-2010
if nCondition == true then return nPostiveResult
else return nNegativeResult end
end
Usage
local a = 6
local b = 5
print('The Bigger number is: '..iff(a > b, a, b))