| Mirage Source http://web.miragesource.net/forums/ |
|
| Erm. Halp. http://web.miragesource.net/forums/viewtopic.php?f=201&t=4297 |
Page 1 of 1 |
| Author: | Nean [ Fri Sep 12, 2008 10:39 pm ] |
| Post subject: | Erm. Halp. |
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 |
|
| Author: | Robin [ Fri Sep 12, 2008 10:44 pm ] |
| Post subject: | Re: Erm. Halp. |
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). |
|
| Author: | Nean [ Fri Sep 12, 2008 11:20 pm ] |
| Post subject: | Re: Erm. Halp. |
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! |
|
| Author: | Robin [ Sat Sep 13, 2008 10:07 am ] |
| Post subject: | Re: Erm. Halp. |
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 <3 |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|