Oh, and to be sure that "1" is the correct value for the parameter index, I tried the following:

Story script rules:
Code
IF
TextEventSet("LLNWIZ_AddWand")
AND
GetTextEventParamInteger(1, _Int)
AND
IntegertoString(_Int, _IntStr)
THEN
LLNWIZ_DebugLog("LLNWIZ_AddWand [Int]: ", _IntStr);

IF
TextEventSet("LLNWIZ_AddWand")
AND
GetTextEventParamReal(1, _Real)
AND
Integer(_Real, _Int)
AND
IntegertoString(_Int, _IntStr)
THEN
LLNWIZ_DebugLog("LLNWIZ_AddWand [Real]: ", _IntStr);

IF
TextEventSet("LLNWIZ_AddWand")
AND
GetTextEventParamString(1, _Str)
THEN
LLNWIZ_DebugLog("LLNWIZ_AddWand [Str]: ", _Str);


Command:
Code
oe LLNWIZ_AddWand 10


Results:
Quote
Osiris triggered an assert: [LLNWIZ:Debug]LLNWIZ_AddWand [Int]: 10
Osiris triggered an assert: [LLNWIZ:Debug]LLNWIZ_AddWand [Real]: 10
Osiris triggered an assert: [LLNWIZ:Debug]LLNWIZ_AddWand [Str]: 10