mIRC Home    About    Download    Register    News    Help

Print Thread
#162943 24/10/06 04:55 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
Code:
  
didtok $Dname 10 44 City Chats=CC,General=GN,Lifesyles=LS,Interests=HB,Sport and Politics=SP
  
did -c $Dname 10 <need code here>


i have a var %default = Lifesyles=LS

but
did -c $Dname 10 %default

doesnt work. it needs to be

did -c $Dname 10 3

but how do i get the '3' with code

#162944 24/10/06 07:56 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
did -c $Dname 10 $matchtok($did($dname,10), %default, 0, 44)


I think that should work

Last edited by billythekid; 24/10/06 07:57 PM.

billythekid
#162945 24/10/06 10:28 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks for the reply.

didnt work frown

any other suggestions?

#162946 24/10/06 11:33 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 did -c $dname 10 $findtok($did(10),%default,1,44) 

#162947 25/10/06 12:21 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Quote:
Code:
 
didtok $Dname 10 44 City Chats=CC,General=GN,Lifesyles=LS,Interests=HB,Sport and Politics=SP
did -c $Dname 10 <need code here>

i have a var %default = Lifesyles=LS
but
did -c $Dname 10 %default
doesnt work. it needs to be
did -c $Dname 10 3
but how do i get the '3' with code


this request is clear as mud to me, post some code that you are using or a sample dialog of what you want to do
and then re-ask the question

#162948 25/10/06 01:04 AM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
did -c $Dname 10 $didwm(10,%default,1)

#162949 25/10/06 11:34 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks that worked!


Link Copied to Clipboard