string.split error

Post Reply
Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

string.split error

Post by Filion »

I am trying to "divide" a string that I caught (e.g. N E W S) using string.split(matches[2]," ").
Everything is good, except the time I spam "look". Then most of the times I will get "exits=string.split(matches[2]," ")"
"

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: string.split error

Post by Vadi »

I'm inclined to think your trigger pattern is capturing the wrong stuff.

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: string.split error

Post by Filion »

To be honest, It doesn't.
It wasn't a string.split fault although I can't reproduce the bug right now.

All are ok. for now at least.

Post Reply