mIRC Home    About    Download    Register    News    Help

Print Thread
#8582 28/01/03 01:05 AM
Joined: Dec 2002
Posts: 68
P
Babel fish
OP Offline
Babel fish
P
Joined: Dec 2002
Posts: 68
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. }

#8583 28/01/03 01:10 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Quote:
First I need how I get the address from the user in the format *!*@i.want.everything.here

$address($nick,2)

#8584 28/01/03 01:15 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Use $+ to join * and $address() together:

$read(file.txt,w,* $+ $address($nick,2) $+ *)


Link Copied to Clipboard