ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Insideout on October 26, 2013, 01:44:33 AM

Title: Another Question
Post by: Insideout on October 26, 2013, 01:44:33 AM
Okay I have scoured both sites this one and EUO and cannot find the answer to my question so I'll ask.

I have figured out that C_ is a container but what is c_  and is the a page to look at more items like this :)
Title: Re: Another Question
Post by: Endless Night on October 26, 2013, 06:14:46 AM
Okay I have scoured both sites this one and EUO and cannot find the answer to my question so I'll ask.

I have figured out that C_ is a container but what is c_  and is the a page to look at more items like this :)

c_  and C_  are both the same.  EUO scripting is NOT case sensitive .. thierfor FinDiTem works the same as finditem or fIndItEM

What you should look at is what ,  and .  do  :)
Title: Re: Another Question
Post by: Insideout on October 26, 2013, 07:58:09 AM
Nice Right to left or left to right. After looking at several scripts I have either missed the . seems to be most work from left to right is this just because it's the way most people read?
Title: Re: Another Question
Post by: Endless Night on October 26, 2013, 11:02:13 AM
Nice Right to left or left to right. After looking at several scripts I have either missed the . seems to be most work from left to right is this just because it's the way most people read?

One takes precedence over the other, and they work differently.
set % . Frog  hello , #spc , All
is not the same as
set % , Frog Hello . #spc . All


Try running this as an example
Code: [Select]
set %hello Hello
set %all   all
set % . Frog  %hello , #spc , %all
set %1 %Frog
set % , Frog %Hello . #spc . %All
set %2 %Frog
display ok Test1: %1 $ Test2: %2
halt


anyways total rerailment
Title: Re: Another Question
Post by: Insideout on October 26, 2013, 11:24:27 AM
Thanks for the example lol clear as Mud :) Makes sense thanks for showing me how it works.