|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Wed Feb 25, 2015 3:54 am
Number of entries in a variable? |
Is there a command that I can see a number of values in a variable.
For example.
#VAR TEST {Orc|Troll|Warg}
command to return the value 3?
Something like:
#SHOW %count(@TEST)
Obviously count doesn't work, wondering if there is a function. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Feb 25, 2015 5:14 am |
%numitems
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Sat Feb 28, 2015 11:39 pm |
Ah, so simple! Thanks a lot. I'm learning C#, so between the two languages I keep forgetting basic stuff!
|
|
|
|
|
|