Thread: strlen + #e
View Single Post
  #2  
Old 01-25-2004, 09:33 PM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
lets say this.word2 = hello

Your script will set the string accordingly
this.word2 = h
this.word2 = e
this.word2 = l
this.word2 = l
this.word2 = o

if you want it as a list you will have to use addstring

example
NPC Code:

for(i = 0; i < strlen(#s(this.word2)); i ++)
addstring this.word2,#e(i,1,#s(this.word2));

__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote