Skip to content
General IRCd

Dialogs

A TG007 community discussion started by Josh`.

Discussion 2 posts
Page 1 of 1
Open
Topic #158 · 2 published posts · 1,379 views

Okay, I have an edit box, and I want to click a button and retrieve the 2nd word, along with the rest of the stuff in the edit box.. Basically just like "$2-" you just don't want the first word, just everything after it.

 

So would I use something like "$did(ID,$2-).text" or something?

 

Help would be apreciated! biggrin.gif

 

Thanks in advance,

~Josh

err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky

Okay, I have an edit box, and I want to click a button and retrieve the 2nd word, along with the rest of the stuff in the edit box.. Basically just like "$2-" you just don't want the first word, just everything after it.

 

So would I use something like "$did(ID,$2-).text" or something?

 

Help would be apreciated! biggrin.gif

 

Thanks in advance,

~Josh

Try something like this.

$replace($did(ID).text,$1,$chr(32))

 

I haven't tried this, yet. So, I don't know if it will work, but give it a try, and let me know. smile.gif

Edited Mar 26, 2004 6:42 AM by Warrior124