flooding problem in script - 28/02/13 02:03 PM
im having a problem with reading text from a file or getting it to the channel. when i wrote the info to a file some things have to be removed. all working fine. but when i want to get it to the channel it keeps repeating the output. and then mirc quits because of flooding.
i dont know why, if anyone could tell me
on *:sockread:lvd: {
/var %lvd
/sockread %lvd
write test.txt %lvd
set %check1 $read(test.txt,2)
set %check2 $remove(%check1,blablablab)
printlvd %check2
}
alias printlvd {
msg %r.chan $1
}
i dont know why, if anyone could tell me
on *:sockread:lvd: {
/var %lvd
/sockread %lvd
write test.txt %lvd
set %check1 $read(test.txt,2)
set %check2 $remove(%check1,blablablab)
printlvd %check2
}
alias printlvd {
msg %r.chan $1
}