*bindatcmd "command","<NPC object name>::<event label>"{,<group level>,<group level char>,<log>};So this should work right? :
- script testffkk -1,{
OnTestThis:
dispbottom "hello";
end;
OnInit:
bindatcmd("testkk",strnpcinfo(0)+"::OnTestThis",0,0,1);
end;
}
It only works when I remove the last arguement. Guess my version is too old?You may wanna set Group Char Level to 40+ that way players can't use it on others.Also, your script should be:
- script testffkk -1,{
OnTestThis:
dispbottom "hello";
end;
OnInit:
bindatcmd "testkk",strnpcinfo(0)+"::OnTestThis",0,40,1;
end;
}