Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirage Source 4
#52
Code:
Sub SendWelcome(ByVal Index As Long)
Dim MOTD As String


    ' Send them welcome
    Call PlayerMsg(Index, "Type /help for help on commands.  Use arrow keys to move, hold down shift to run, and use ctrl to attack.", Cyan)
    ' Send them MOTD
    MOTD = GetVar(App.Path & "\data\motd.ini", "MOTD", "Msg")
    If Trim$(MOTD)  vbNullString Then
        Call PlayerMsg(Index, "MOTD: " & MOTD, BrightCyan)
    End If
    
    ' Send whos online
    Call SendWhosOnline(Index)
End Sub
That's a very bad thing to do. You read the same thing every time someone connects.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)