Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: [Project-Ult]Jake on March 23, 2008, 03:29:47 am

Title: need help with scripting (im new)
Post by: [Project-Ult]Jake on March 23, 2008, 03:29:47 am
hey all,

i need to know what you type it to make it so only admins can use a command and where do i put it?


thanks
Title: Re: need help with scripting (im new)
Post by: rhide on March 23, 2008, 07:45:48 am
Hi there

http://forums.soldat.pl/index.php?topic=7411.0

But this might not be trivial, so go to

http://enesce.com/help/

And from there:

Quote
OnAdminMessage
procedure OnAdminMessage(IP, Msg: string)

Parameter Info:
IP (String): IP Address of the admin who sent the command.
Msg (String): Command received by the admin.

Description:
This procedure will be called every time a TCP Admin sends data to the Server.
Note: REFRESH, SHUTDOWN and, REFRESHX will not be called with this function.
Title: Re: need help with scripting (im new)
Post by: [Project-Ult]Jake on March 23, 2008, 10:15:26 am
thanks :D