Runes of Magic Wiki
Advertisement

The CURRENT number of cards the character has in the specific compendium list.

Input

LuaFunc_GetCardCount(number)

number

0-15 While 16 numbers are valid it appears to correspond with 
      the 10 categories in the compendium drop down list.
0 = ?
1 = ?
2 = ?
3 = ?
4 = Beasts
5 = Undead
6 = Humanoid
7 = Magical Creatures
8 = Elimentals
9 = Golums
10= Fiends
11= Dragon
12= Demon
13= god
14= ?
15= ?
16= nil ...

Example

/script u=0
/script CARD =LuaFunc_GetCardCount(u);if (CARD == nil) then CARD = "NIL";end ;SendChatMessage(CARD.." "..u,"SAY" ); u=u+1;
Advertisement