Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Erm. Halp.
#1
So I made this system, so that when people log in, not only does it display who's online, but it displays who's online that has a PK. However, I want people to be able to check whenever they damned well please, so I made a command
Code:
' Whos online has a PK
        If Mid$(MyText, 1, 9) = "/whohaspk" Then
            Call SendWhoHasPK
            MyText = vbNullString
            frmMirage.txtMyChat.Text = vbNullString
            Exit Sub
        End If
However, when I type that in game, it just says "No ones online" which isn't whats set for the whohasPk packet, but it is for the whos online packet. So how do I fix this? Also when I was trying to make a member of the month (MOTM), an exact rip off of MOTD, If I change one, the other changes. How do I fix this? Sorry for the absolutely stupid questions, I'm horrible with VB6 at the moment. Also I'm using MS4.
Reply
#2
It's because of how the commands work.

Move it above the "/who" check.

Otherwise it'll check to see if it's /who first (Which it is, but with some extra characters).
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
Robin Wrote:It's because of how the commands work.

Move it above the "/who" check.

Otherwise it'll check to see if it's /who first (Which it is, but with some extra characters).

Ah, I see. See I would of never been able to tell, I didn't really think that placement was an issue. Thanks!
Reply
#4
No problem. I had a similar problem back when I first started... like 4 years ago.

Pretty sure it was Sonire who cleared it up with me.

Or Dark Echo. Dark Echo taught me everything
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)