Tr0n wrote:playerid is a build-in quest numeric.
I know, but where Elex put
use knife on #player#, whatever is entered in place of #player# is just entered into the
player string variable. What to do after that?
I thought it would be
#@player#. Then you would put something like...
set numeric <id; $id(#player#)$>
set numeric <health[id]; %health[id]% - $rand(12; 40)$>
msgto <%id%; |b$name(%userid%)$|xb attacked you, causing damage!>
msg <You attacked $name(%id%)$>
Not tested properly, I looked into
arena.asl to see how player interaction worked, I'm guessing a basic attacking function would work based on these methods.