Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Buying/Selling Complicated way (https://forums.graalonline.com/forums/showthread.php?t=15508)

g02h3LL 10-26-2001 06:25 PM

Buying/Selling Complicated way
 
This is complicated so you may have to read it a few times.....
This is not an auction!!!
I have 2 npcs, 1 that says buy and 1 that says sell. Its like a house. The person who owns it can touch sell and it says type "Sell amount" to sell. Then someone touches the buy npc and it says "on sale for Amount", thats the easy part. The hard part:
When someone touches the Buy and the owner has not touched the sell i want it to be like a bid. The buyer places a bid and it remembers the account name and takes the money away and then when the owner touches Sell it says the highest bid and accountname. If the owner says "Sell to bidder" it sells the house to the account that bidded the highest amount. Also if someone bids and then someone bids higher the person that bidded before gets there money back. Please help me!!!

dragoonvenganc 10-26-2001 08:30 PM

Not hard. Make one npc and not 2.. i will tell u in about 13 hours when i get home..


All times are GMT +2. The time now is 07:53 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.