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
3 flags question
Author Message
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #6
RE: 3 flags question
(09-01-2012 01:50 PM)RanXerox Wrote:  Difficult to say whether it is right or wrong... but I would caution against directly setting SRC.CRIMINAL because it is permanent and very negative to the individual because they will be unable to enter any guarded town without running the risk of guards killing them.

Code:
//CHEQUEO SI SOS ORDER O CHAOS Y LO CURAS AL ENEMIGO TE HACES CRIMI
IF ((<UID.<SRC.GUILD>.ALIGN> == 1) && (<UID.<SRC.GUILD>.ALIGN> == 2)) || ((<UID.<SRC.GUILD>.ALIGN> == 2) && (<UID.<SRC.GUILD>.ALIGN> == 1))
SRC.CRIMINAL = 1
  SRC.UPDATE
   SRC.SYSMESSAGE Criminal!
  SRC.SYSMESSAGE @07d1 Has curado a un enemigo!, ahora eres un criminal!
RETURN 1
ENDIF

This works. Exactly, if you cure with bandages an enemy you are a criminal.
09-03-2012 09:50 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
3 flags question - daedelus - 08-31-2012, 04:15 AM
RE: 3 flags question - RanXerox - 08-31-2012, 04:54 AM
RE: 3 flags question - daedelus - 08-31-2012, 05:00 AM
RE: 3 flags question - daedelus - 09-01-2012, 03:50 AM
RE: 3 flags question - RanXerox - 09-01-2012, 01:50 PM
RE: 3 flags question - daedelus - 09-03-2012 09:50 PM
RE: 3 flags question - RanXerox - 09-04-2012, 03:18 AM
RE: 3 flags question - Extreme - 09-04-2012, 04:53 AM
RE: 3 flags question - Mordaunt - 09-05-2012, 01:32 AM
RE: 3 flags question - daedelus - 09-05-2012, 10:08 PM
RE: 3 flags question - Mordaunt - 09-06-2012, 07:31 AM
RE: 3 flags question - daedelus - 09-13-2012, 06:02 AM
RE: 3 flags question - RanXerox - 09-06-2012, 09:45 AM
RE: 3 flags question - Mordaunt - 09-08-2012, 01:32 AM
RE: 3 flags question - Mordaunt - 09-13-2012, 08:48 AM

Forum Jump:


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