i need help, wut i wanna do is have the visitors to my channel, have their .hmsk written to a file...here is wut i have please help me if you can...
on !1:join:#: /write Hostmasks.txt /dns $nick
on *:join:#://write Hostmasks.txt $address($nick,1)
1 can be changed to 1 - someodd # around 5
[untested]
(never used on dns, im just guessing thats how its done.)
on *:JOIN:#:{
/dns $nick
}
on *:DNS:{
if ($read(hostmask.txt,$+(*,$1-,*),*,w) == $null) {
/write hostmask.txt $nick - $1-
}
}
i dont mean to steal this post but i have a problem with write too
write -c $scriptdir $+ %fullfile
it dont write to $scriptdir
write -c $eval($scriptdir $+ %fullfile,2)
MTec89- Its okay, steal it..you helped me and its done now! /me bows down, "IM NOT WORTHY!" lol
Phoenix- I had that script b4 but it didnt work for some reason...
BTW...I would like to ping them and write that down too...can u add that somewhere??
nah that didnt work either
glad i can help
try this.
write -c $eval($scriptdir $+ %fullfile,2) a
BTW...I would like to ping them and write that down too...can u add that somewhere??
nah.... what about that $+( thing or whatever?
on *:JOIN:#:{
.ping $nick
.write hostmask.txt $address($nick,1)
}
on *:PONG:*:{
echo -at $1-
}
or
on *:JOIN:#:{
.write hostmasks.txt $address($nick,1)
.ctcp ping $nick
}
on *:CTCPREPLY:PING:{
.echo -at $1-
}
on 1:CTCPREPLY:PING*:/write pings.txt $1-
or somthing like that --[untested]--
just put a ping command below the original write, in the other script
the $(...) thing, with commas
alias test {
echo -a $+(h,ell,o)
echo -a h $+ ell $+ o
}
use /write $nick $1- and not just /write $1-
write -c $eval($+($scriptdir,%fullfile,.txt),2) a
presuming its a text file.
ok, this is reeeally annoying...why doesnt this work for me??
write -c $+( $scriptdir , %fullfile )
i tried with and w/o spaces
%fullfile has the .html in it
try this then.
.write -c $eval($+(",$scriptdir,%fullfile,"),2)
thanks guys.../me bows down..."I'm not worthy!" ...again, thanks, till my next question...! and im sorry, but im not good at scripting yet so i really cant help you, sorry MT
im using /download by some dude on ms.org and im trying to make it write to $scriptdir instead of just %fullfile
in that case, ask the author.
Obelisk, thats alrightsomeone out there can help, im sure of that much...just need to find them
rofl.... i never though of that! thanks tho...
thats no good, i checked his profile on ms.org...
oMri^^ was last seen on the front page 251 days 21 hours 21 minutes 45 seconds ago
;/
if it can be done, can you IM it to me??
yahoo & AIM s/n: MTec89
msn s/n:
mtec89@hotmail.com and icq #: 209976426
posting the script would be a great help :tongue:
well, i didnt say you cant post it, but im going to be doing some scripting, so i wount be checking the site for a while
i meant you post the script you are trying to fix.
rotf...why didnt ya say so?
http://mtec89.cjb.net/scripts.htmlclick the Threat Level script link, on line 39 there is the write command
sorry i dont download any "untrusted" files any more.
lol,i have another question, lol, now i put a whois on and it wont write, lol, HELP! i know u guys can, cuz ur good...
pheonix...chill man, i check all my files, all the time.
and what is it you want to write from the whois?
everything, lol, so that way i can get rid of the Hostmask part of the script
on *:raw:311://write whois.txt $1-
on *:raw:319://write whois.txt $1-
on *:raw:312://write whois.txt $1-
on *:raw:301://write whois.txt $1-
on *:raw:313://write whois.txt $1-
on *:raw:317://write whois.txt $1-
on *:raw:318://write whois.txt $1-
just whois the nick
http://www.zkelvin.net/script/whois.html