I think its set up right..
Right now I can make the GMOTD, but it still wont appear anywhere when I login, or when I change it...
When I make the GMOTD it goes into GMOTD.INI in my Server Folder.
Inside the folder looks like this
[GuildMessage]
Test=GMOTD Testing
Test is the guild name, and GMOTD Testing is the Guild Message Of The Day.
In my Server I have this in modGameLogic
' Send the player the welcome message.
MOTD = Trim$(GetVar(App.Path & "\MOTD.ini", "MOTD", "Msg"))
If LenB(MOTD) <> 0 Then
Call PlayerMsg(index, "MOTD: " & MOTD, 11)
End If
' Send the Guild Message Of The Day
GMOTD = GetVar(App.Path & "\GMOTD.ini", GetPlayerGuild(index), "GuildMessage")
If GMOTD <> vbNullString Then
Call PlayerMsg(index, GMOTD, YELLOW)
End If
I also tried putting the code in the same spot as the normal GMOTD without adding the ' Send the Guild Message Of The Day, but that didn't work either.