mIRC Home    About    Download    Register    News    Help

Print Thread
#120941 22/05/05 06:01 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
.Part #1:set %topic.part.1 $$?="Topic Part #1:" How can i add the %topic.part.1 in the text field ? So that i easly can edit the line....

#120942 22/05/05 07:26 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I don't understand what you mean, %topic.part.1 wont have a value when you first initiate the $?. You could accomplish this by seeing if the var is $true.

I've used $input() instead of $?.

Code:
$iif(%topic.part.1,$input(Topic part #1:,e,Input Request,%topic.part.1),$input(Topic part #1:,e,Input Request))


-Andy

#120943 22/05/05 09:25 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Most identifiers accept empty parameters, including $input():

Code:
$input(Topic part #1, e, , %topic.part.1)


New username: hixxy
#120944 22/05/05 10:00 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I guess I was just being cautious.. :tongue:

-Andy


Link Copied to Clipboard