Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiny optimization
#7
Vahz Wrote:i think Dugor forgot about these...

Code:
If Mid$(MyText, 1, 1) = vbQuote Then
and
Code:
If Mid$(MyText, 1, 1) = "=" Then

you should place them right before
Code:
If Left$(MyText, 1) = "/" Then

and add an access check
Code:
If GetPlayerAccess(MyIndex) >0 Then

You are correct, I did forget about those.

You would have to move those out of the 'Checking for commands' section and have another If Then statement to check for those.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)