Author Topic: OnExit (??)  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

Offline Shurlock

  • Fulll Member
  • ****
  • Posts: 56
  • Karma: +1/-0
OnExit (??)
« on: 05 July, 2005, 17:15:26 »
It may sound a bit stupid, but....
in which situations shoud a function OnExit() be executed?

Should the function also react to the client command !restartscripts ?
(Unknown client command are being sent to the hub)

I am asking this because for some reason I am not able to find the table-files that should have been saved.

Thanks in advance.
« Last Edit: 05 July, 2005, 17:47:27 by Shurlock »
If it's raining and your roof leaks, fix the roof. DON'T try to stop the rain!!

PtokaX forum

OnExit (??)
« on: 05 July, 2005, 17:15:26 »

Offline Dessamator

  • Scripter
  • Emperor
  • ******
  • Posts: 1 262
  • Karma: +13/-9
(No subject)
« Reply #1 on: 05 July, 2005, 18:06:21 »
Yes, onexit is executed whenever a script is stopped, that includes !restartscripts .
Ignorance is Bliss.

PtokaX forum

(No subject)
« Reply #1 on: 05 July, 2005, 18:06:21 »