Make bindatcmd work with atcommand script command

Oxxy

New member
Messages
142
Points
0
Location
Estonia, Tallinn
Emulator
so the title says it.

Make bindatcmd work with atcommand script command.

for example:

bindatcmd "showmvp", "showmvp::OnCall";

then

OnPCLoginEvent: atcommand "@showmvp";

and aswell if its possible make these command add to @commands list.

would be quiet useful

 
I guess you can just attach player and run doevent "<NPC object name>::<event label>";

 
I guess you can just attach player and run doevent "<NPC object name>::<event label>";
I need it to work exactly like @atcommand, but I don't really want to create tons of source-atcommands that are calling npc events.

 
Last edited by a moderator:
---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------

isn't this enough?

 
---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------

isn't this enough?
Oh, didn't know about it, tho would be anyway useful to show these commands in @commands.

 
I agree, but its has been already suggested here
default_tongue.png


 
Back
Top