ID:141562
 
Code:
/mob/verb/ThisIsATest(T as text)
var/l = findtext(T,"[")
var/p = copytext(l,l+26)
world << p


Problem description:

I want to find "[##] [##] [##] [##] [##] [##]" in a block of text. But i get this error:


unterminated text expression (expecting ])

Thanks in advance, Lcooper.
[ is used in the DM compiler and that is why you're getting that error. What you need to do is put "\[" to signify you are just typing a bracket, not have an opening bracket for the compiler to use.
In response to AJX
k thanks
my msg is short cuz im on my psp
In response to AJX
It didnt work.
In response to Lcooper
What he means is:
findtext(blah,"\[") //Notice how the bracket is not dark.