Thread: deletestring?!
View Single Post
  #1  
Old 08-11-2003, 01:34 AM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
deletestring?!

so i was having trouble with a deletestring npc
what i wanted it to do is when used, would trim back the string by one

so something like
lolhi
would become
lolh

when used

this is what i got

NPC Code:
    deletestring client.reg#v(this.id),strlen(#s(client.reg#v(this.  id))-1);



it gives me no error in the editor and i asked some other people other possibilies to do this, but nothing has worked so far
__________________
Reply With Quote