The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some old commands not working
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #8
RE: Some old commands not working
The Search Nazi asking us how to do something? ;-)

Code:
[FUNCTION respawnmap]
//
//Usage: .respawnmap [Radius]
//
// If Radius is not specified, it defaults to the entire map you are standing on
//
LOCAL.MapNo=<SRC.MAP>
LOCAL.Radius=8000
IF (<ARGV>)
   LOCAL.Radius=<ARGV[0]>
ENDIF
SERV.LOG Respawning MAP <dLOCAL.MapNo>... Radius of <dLOCAL.Radius>
FORCHARS <LOCAL.Radius>
   OBJ=<MEMORYFINDTYPE.memory_ispawned>
   IF (<OBJ>)
      //You might want to comment out the sysmessage when respawning an entire map or you can crash your client
      SRC.SYSMESSAGE @032 Respawning <OBJ.CONT.NAME>
      REMOVE
      OBJ.TIMER=<EVAL {<OBJ.MOREX> <OBJ.MOREY>}*60>
   ENDIF
   OBJ=
ENDFOR
03-26-2013 02:53 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Some old commands not working - Rattlehead - 03-24-2013, 08:08 AM
RE: Some old commands not working - Ben - 03-24-2013, 08:51 AM
RE: Some old commands not working - Ben - 03-25-2013, 08:30 AM
RE: Some old commands not working - Ben - 03-26-2013, 12:27 PM
RE: Some old commands not working - RanXerox - 03-26-2013 02:53 PM
RE: Some old commands not working - Ben - 03-26-2013, 08:23 PM
RE: Some old commands not working - Ben - 04-03-2013, 01:31 PM
RE: Some old commands not working - Ben - 04-04-2013, 02:39 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)