Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUG] MOTD Problem
#1
So when I type /motd test test, as an example, the first test would only show up. I think this is a parse error, but I can't seem to fix it. Wondering if anyone else has a fix for it =\
Reply
#2
MOTD is not even being changed in this case. (You need to restart the server)
To fix it just find (Sub HandleSetMotd):
Code:
Dim MOTD As String
And remove it.

The "only one word changing problem" is client fault.
Code:
SendMOTDChange Command(1)
It only sends one word.

Sorry for bad English, as always.
Reply
#3
Code:
Dim MOTD As String

For i = 1 To UBound(Command)
   MOTD = MOTD & Command(i)
Next i

SendMOTDChange MOTD
MOTD = vbNullString

I just typed that up in the post...but it should work? I seem to be typing up most of my code right in the post.
Reply
#4
Yeah most of the commands are giving RTE's or not allowing the spaces because they need LBound / UBound and IsNumerical checks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)