mIRC Homepage
Posted By: phrozenfire IAL - 28/01/03 01:05 AM
I'm making a voting thing and I need help on how to store the address. First I need how I get the address from the user in the format *!*@i.want.everything.here. I think it is $ial(something). I was thinking of writing it to a txt file (maybe all on one line) then doing something like:

if ($read(vote.txt, w, *$ial(whatever)*) != $null) { notice $nick You've already voted. }
Posted By: Collective Re: IAL - 28/01/03 01:10 AM
Quote:
First I need how I get the address from the user in the format *!*@i.want.everything.here

$address($nick,2)
Posted By: Online Re: IAL - 28/01/03 01:15 AM
Use $+ to join * and $address() together:

$read(file.txt,w,* $+ $address($nick,2) $+ *)
© mIRC Discussion Forums