mIRC Home    About    Download    Register    News    Help

Print Thread
#204250 13/09/08 11:01 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Someone that know if it's possible to grab text from a list in a dialog, but not all the text from it, i using this code:

var %nick $did($dname,10).seltext

and the text in the seltext looks like:

nick *!host@user.com

the info i want to use are the nick part, and it's a space that separate the nick and the host. ideas plz?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #204251 13/09/08 11:16 AM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Use:

Code:
var %nick $gettok($did($dname,10).seltext,1,32)


Reference /help $gettok


Link Copied to Clipboard