Author Topic: Script help  (Read 1799 times)

0 Members and 1 Guest are viewing this topic.

Offline Semper-Fi-

  • Major(1)
  • Posts: 6
Script help
« on: March 23, 2007, 05:21:42 pm »
hey i want to know if there is any option to write script for ex.

if $MESSAGE = !pause
/pause
endif

and it will be working only with admins ip

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Script help
« Reply #1 on: March 23, 2007, 07:40:48 pm »
This forum is for scripting with the scripting engine that is built into the dedicated server; not ARSSE scripts.

Offline Semper-Fi-

  • Major(1)
  • Posts: 6
Re: Script help
« Reply #2 on: March 23, 2007, 08:37:40 pm »
so can u move post to good location?

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Script help
« Reply #3 on: March 23, 2007, 09:18:01 pm »
done.


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Script help
« Reply #4 on: March 23, 2007, 09:46:56 pm »
I don't think you can do that with ARSSE, since ARSSE can't get the list of admins.

You could put something in the OnData event, and do
if $DATA = /pause
/pause
endif

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Script help
« Reply #5 on: March 24, 2007, 01:27:17 am »
I don't think you can do that with ARSSE, since ARSSE can't get the list of admins.

You could put something in the OnData event, and do
if $DATA = /pause
/pause
endif


But take note, that the vulnerbility in ARSSE is still present, so it would be possible for non-server admins to trigger it if they know what they are doing.