Perl Question - Returning values from parser
Is there a way to use a function in perl that refers to one in parser.cpp and have parser return a value to perl?
For example: quest::say(" I have $somestuff("1234")");
Have somestuff pass 1234 to a routine in parser, which does something with it and returns a value to perl, say "5678", and have perl then pass "I have 5678" to say?
One case like this is $itemcount, which I am told doesn't work. Also I was thinking it would be nice to have an $itemlink which would let you put a link to an item in a say/shout/me/emote....
__________________
Maybe I should try making one of these servers...
|