Advertisement
n128

Ps - create window

Feb 4th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getShop() {
  2.     return `>view-shop\n|init|html\n|title|[Shop] Tienda\n` + `|pagehtml| this is a shop!`;
  3. }
  4.  
  5. const commands: ChatCommands = {
  6.     shop: {
  7.         '': 'view',
  8.         view(target, room, user, connection) {
  9.             connection.send(getShop());
  10.         }
  11.     }
  12. }
  13.  
  14. export default commands;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement