Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Dim WshNetwork
  2. Set WshNetwork = CreateObject("Wscript.Network")
  3. ComputerName = WshNetwork.ComputerName
  4. strAnswer = InputBox("Please enter your name:", "Your Name", ComputerName)
  5. Set objShell = WScript.CreateObject("WScript.Shell")
  6.  
  7. if strAnswer = "" then
  8.  
  9. else
  10. 'MsgBox(Replace(Trim(strAnswer), " ", "_"))
  11. objShell.Run ("C:\DriftRunnerRRallyBuild_331\VRT_GEN_4.exe multiplayerHostServer 0 multiplayerJoinServer 1 multiplayerJoinIPAddress 10.0.10.180 playerName """ & Replace(Trim(strAnswer), " ", "_") & """")
  12. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement