"WebAuctionPlus":
type: assignment
interact scripts:
- 10 Auctioninfoo
'Auctioninfoo':
Type: Interact
Steps:
1:
Click Trigger:
Script:
- CHAT "Hello, Can I help you?"
- NARRATE "Hint<&co> You can choose between <yellow>account<reset>, <yellow>info <reset>and<yellow> no"
Chat Trigger:
1:
Trigger: Yes, I would like some /info/rmation.
Script:
- CHAT 'Ok, I should start of that this is the Auction house, From here you can control your "Webauction account".'
- WAIT 1
- CHAT "You can visit the market by going to: http://mc.block-smash.com/market"
- WAIT 1
- CHAT "There are different signs for using the webauction, for example the Deposit and Withdraw signs."
- WAIT 1
- CHAT "These are as you might already understand for depositing and withdrawing money from your webauction account."
- WAIT 1
- CHAT "Another sign you might see alot is the MailBox sign. Once you rightclick those, a chest will open."
- WAIT 1
- CHAT "All items dropped inside here will appear in your webauction inventory."
- WAIT 1
- CHAT "As you see you also need an account to login, Shall I make one for you?"
- NARRATE '<&co>You can choose: <yellow>Yes<reset> or <yellow> no<reset>.'
- ZAP 1
2:
Trigger: Yes, Please help me with my /account/.
Script:
- CHAT "Okay, Your username for the webauction will be: <player.name>."
- WAIT 1
- CHAT "What would you like as password?"
- NARRATE "You can safely say this out, Other players will not be able to read this."
- ZAP 3
2:
Chat trigger:
1:
Trigger: /Yes/, I would like an account please.
Script:
- CHAT "Okay, Your username for the webauction will be: <player.name>."
- WAIT 1
- CHAT "What would you like as password?"
- NARRATE "You can safely say this out, Other players will not be able to read this."
- ZAP 3
3:
Chat trigger:
1:
Trigger: /regex:.+/
Script:
- EXECUTE as_player "wa password <player.chat_history>"
- ZAP 1