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-nmm6 (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-nmm6 (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-nmm6 (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
REQUEST For 56c
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #1
REQUEST For 56c
Its possible to put on @itemsell tag.override.moneytype???
To change the coin the vendors accept or give... ty
02-28-2016 12:42 PM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #2
RE: REQUEST For 56c
Ugh. Completely dislike the @(Item)Buy @(Item)Sell triggers. Try this. It is hard doing a custom currency with these triggers. This could be horribly wrong what I am adding in here. If so, sorry. The way these triggers work (or lack to work), deciding whether or not to rewrite a dialog system for vendors.

Code:
ON=@ItemBuy
if !<restest <local.totalcost> i_silver_coin>
smsg You do not have enough silver coins to buy all of this!
return 1
else
act.bounce <uid>
argo.say Thank you <name>.
smsg You have purchased the items.
return 1
endif
(This post was last modified: 02-28-2016 03:52 PM by Khaos.)
02-28-2016 03:50 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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