JOELwindows7

MCCC_Chat_HostMonitor.lua

May 13th, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Welcome to chat Server!")
  2. ServerName = "Perkedel"
  3. MonitorJoinName = "MonitorSayaSendiri"
  4. SelfJoinName = "DiriSayaSendiri"
  5. MonitorName = "right"
  6. MonitorHost = "left"
  7.  
  8. print("Initiating Repeater...")
  9. shell.openTab("repeat")
  10.  
  11. print("Hostname = "..ServerName.." at monitor "..MonitorHost.."\n")
  12. shell.openTab("monitor", MonitorHost.." chat host "..ServerName)
  13.  
  14. print("\nNow also joining myself as = "..MonitorJoinName.." at monitor "..MonitorName.."\n")
  15. sleep(5)
  16. shell.openTab("monitor", MonitorName.." chat join "..ServerName.." "..MonitorJoinName)
  17.  
  18. print("\nAdditionally, joinning chat internally as "..SelfJoinName.."\n")
  19. shell.openTab("chat","join "..ServerName.." "..SelfJoinName)
  20.  
  21. print("\nEnjoy your chat day, on the these monitors and next tab. thancc\n")
  22. print("\nBy JOELwindows7\nPerkedel Technologies\nGNU GPL v3")
  23. -- Yeah.
Add Comment
Please, Sign In to add comment