Been trying to find a auto room message every hour or so, In room wisper, Can some one have new one that works with new scripts?
Thanks
A TG007 community discussion started by Eaglenest25311.
Been trying to find a auto room message every hour or so, In room wisper, Can some one have new one that works with new scripts?
Thanks
Custom Computer
AMD Athlon 64 x2 Dual Core 5200+
Asus M2N-SLI MOB
2GB DDR2 @ 800mhz
160GB Hard Drive
NVidia GeForce 8400GS 256
i cant understand why you would want to whisper the whole room every hour or so
My code does NOT have bugs. It just develops random features.
Not hole room, Just new guest, and Just guest help message, Command sring, And varius news, Like I said Just option to wisper, and regular post ect.., No need to post to older guest that has seen the post, Does that help explain better?
you mean like an onjoin message to new ppl
if thats the case you could use the rooms onjoin and add the message in that , to save ya script having to send it all the time
My code does NOT have bugs. It just develops random features.
Maybe same thing as tecgeer007 group menu would be what I'm looking for, That would work too, But I also wanted to post other messages to others like jokes, news and help messages. Maybe it's two programs, Donno
just do
on *:JOIN:#: {
query $nick message here
}
Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)
Thanks, But not what I'm looking for.
why do u only wanna do it every hour to new people
that mean ur gonna have to log everyone thats joined then whisper them
whereas the onjoin will do everyone as they enter the room
Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)
Your right, It was just a thought.
How ever I need something new,
Is there a way to log on text who came in and remove there name when they leave, like write($nick) to nicklist.txt then remove($nick) from nicklist.txt, also how do you add a value to a letter?
$a1 = 1, $a2=5 ect.., ?
to add/remove nick to text file:
on *:JOIN:*: {
if ($nick != $me) {
write nicklist.txt $nick
}
}
on *:PART:*: {
if ($nick != $me) {
write -ds $+ $nick nicklist.txt
}
}
set/unset value to letter:
set %a value
unset %a
that what you want?
"the important thing was, that i had an onion on my belt, which was the style at the time"
Thank you I'll spend time testing it
do
/set %a 5
on *:JOIN:#: {
if ($nick != $me) {
if (%a => 5) { send.msg }
else {
write nicklist.txt $nick
}
}
on *:PART:*: {
if ($nick != $me) {
write -ds $+ $nick nicklist.txt
}
}
alias send.msg {
var %x = 0
while (%x < $lines(nicklist.txt) {
query $read(nicklist.txt) message here
inc %x
}
}
Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)
/set %a 5 ;on start
on *:JOIN:#: {
if ($nick != $me) { ;if not me
if (%a => 5) { send.msg } ;if value is equil or greater than 5, send message(what message)
else {
write nicklist.txt $nick ;write name to text
}
}
on *:PART:*: {
if ($nick != $me) {
write -ds $+ $nick nicklist.txt ; What does the $+ do Add a Name?
}
}
alias send.msg {
var %x = 0 ; is this to make random?(var)
while (%x < $lines(nicklist.txt) {
query $read(nicklist.txt) message here
inc %x ;to include number to message
}
}
write -ds $+ $nick nicklist.txt ; What does the $+ do Add a Name?
no, the d switch means you want to delete the nick from the txt file, the s switch scans for the $nick to delete it
var %x = 0 ; is this to make random?(var)
if you want a random number use this,
set %x $rand(1,9)
alias send.msg {
var %x = 1
while (%x <= $lines(nicklist.txt)) {
query $read(nicklist.txt,%x) message here
inc %x
}
}
that will run through all the nicks and send them a query msg, if that's what you wanted
"the important thing was, that i had an onion on my belt, which was the style at the time"
TO CLARIFY
do
/set %a 5 ;set %a as 5 this is the amount of people u want to enter before a mesage is sent
on *:JOIN:#: { ; when someone joins
if ($nick != $me) { ; if person whos joins IS NOT urself
if (%a => 5) { send.msg } ; if %a is great or equal to 5 send msg
else {
write nicklist.txt $nick ;or write ther ename to the text file
inc %a
}
}
on *:PART:*: { ;when someone leaves
if ($nick != $me) { ; if person who leaves is not me
write -ds $+ $nick nicklist.txt ;remove there name fromt he list
}
}
alias send.msg {
var %x = 0 ;sets %x as 0
while (%x < $lines(nicklist.txt) { ; while %x is less than he amount of lines in the text file
query $read(nicklist.txt,%x) message here ;whisper each person with the message
inc %x ;increase %x by 1
}
}
hope this helps
Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)
Thanks that has help me understand
Very appreciated
meh alot of coding just to do that, but whatever floats ur boat
well make a better one then
Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)
didnt say there was anything wrong with it, but i dont see the point in useless addons, then ppl wonder why they disconnecting while being flooded
Sign in to reply or start a new topic where your account has permission.