mIRC Homepage
Posted By: JAFO $$? Question - 31/01/05 06:53 PM
Im doing something like this.
/auser #Friends $address($$1,5) $?="Info" | /msg $$1 "?"
Now where that "?" is i want the Input from $?="Info" placed there... so i dont have to type the input twice. I tried something along the lines of
/auser #Friends $address($$1,5) $?="Info" | /msg $$1 $ulist($$1,#Friends).info
but that didnt work at all ..... so how do i get that initial input to tack onto the msg?
Does that even make sense?
Posted By: DaveC Re: $$? Question - 31/01/05 07:19 PM
//tokenize 32 $$1 $?="Info" | auser #Friends $address($$1,5) $2- | /msg $$1 $2-
Posted By: JAFO Re: $$? Question - 31/01/05 07:52 PM
Perfect..... Thanks a lot.
Posted By: qwerty Re: $$? Question - 31/01/05 08:58 PM
Or you can use $!, which holds the value of the last $? in the script:

//echo -a I typed $?="Type your message" | echo -a I typed $! again | echo -a I typed $! once more
Posted By: DaveC Re: $$? Question - 01/02/05 12:05 AM
oh thats a nice one to find out
Posted By: JAFO Re: $$? Question - 01/02/05 01:46 PM
Thanks qwerty, that is now being stored in my own personal help folder. wink
I know i've seen this all before but i am in the help files so much i just forget where i see these little things.
--like the nick too easy to type laugh
© mIRC Discussion Forums