ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Djego on January 09, 2009, 04:13:36 AM
-
Hi @ all,
I need to differ from mobs and items via finditem. But the only thing in which they differ is the length of the type they have... Is there a way to get the string length of the #findid variable? I really don't want to note every single mobile type...
thx 4 help
-
Look up comand STR
think you would need
STR LEN #findid
IF #strres = bla bla
; do bla bla
if #strres = ??
; do ??
-
Ahhh, thats exactly what i looked for... always something new to discover from euo ;) thx very much!
-
Ahhh, thats exactly what i looked for... always something new to discover from euo ;) thx very much!
with this Method you can Easy Index your Id`s
Mobiles have 1 or 2 Letters (npcs,Spawn)
Items has 3 Letters
i Think its enough if you say
if #strres > 2
{
ignoreitem
}
Else
{
"Do your Attack"
}
-
Ahhh, thats exactly what i looked for... always something new to discover from euo ;) thx very much!
with this Method you can Easy Index your Id`s
Mobiles have 1 or 2 Letters (npcs,Spawn)
Items has 3 Letters
i Think its enough if you say
if #strres > 2
{
ignoreitem
}
Else
{
"Do your Attack"
}
Thats exactly what I did ;)