ScriptUO

Scripting Resources & Utilities => OEUO => OpenEUO Scripting Chat => Topic started by: Masscre on October 14, 2010, 07:22:55 AM

Title: OEUO and funcionality?
Post 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.
Title: Re: OEUO and funcionality?
Post by: Endless Night on October 14, 2010, 07:33:31 AM
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.
Title: Re: OEUO and funcionality?
Post by: ZigZagZebra on October 15, 2010, 01:35:34 PM

Rember in LUa syntax is everything .. its kinda unforgiving


Was capitalization such a huge deal for EUO scripts? Just curious
Title: Re: OEUO and funcionality?
Post by: 12TimesOver on October 15, 2010, 01:42:39 PM

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.
Title: Re: OEUO and funcionality?
Post by: Endless Night on October 15, 2010, 01:46:20 PM
But in euo you couldnt write sweet little subs like this

Code: [Select]
function iff(nCondtion, nPostiveResult, nNegativeResult) -- By EN Oct-2010
  if nCondition == true  then return nPostiveResult
                         else return nNegativeResult end  
end

Usage
Code: [Select]
local a = 6
local b = 5
print('The Bigger number is: '..iff(a > b, a, b))