hiya i was wonder wat the coding is if i want my sleeper script to auto reply. for example yeah wen someone advertises it whispers my main script to kick them yeah.... but i want it so wen someone whispers my sleeper like asl... it will reply to them in whisper. then close the whisper... if anyone could help i would be greatful
Umm i believe it would go something like this:
on *:TEXT:#:?: {
if ($nick isop $active) return
if (www. isin $1-) { (sockwrite here) kick $active $nick (Message here)
}
Im not sure though, ive never really bothered doing something like this. It would be something along those lines though. ![]()
"Be more concerned with your character than your reputation
because your character is who you really are while your reputation is merely what others think of you."
DesolateMx 8.0
oh and to close the actual whisper window it would be like this:
/window -c $nick ..
"Be more concerned with your character than your reputation
because your character is who you really are while your reputation is merely what others think of you."
DesolateMx 8.0
erm u havent answered wat i wanted:| i have already got the code to kick advertisers yeah but i want a code to whisper back the person that whispered me like if they say asl my script whispers them back with an asl i give it ![]()
oh, just add if ($1- == asl) { privmsg $nick 29/m/usa }
"Be more concerned with your character than your reputation
because your character is who you really are while your reputation is merely what others think of you."
DesolateMx 8.0
i just tried that but didnt seem to work:| could u send me the whole code pls i am new to this sorry to be a pest ![]()
![]()
![]()
I dont have any code i just wrote that to try and help you. Umm if you can paste me your actual code in PM ill help a little more. I dont really want to keep replying here because i might get banned or something for mass posting.
"Be more concerned with your character than your reputation
because your character is who you really are while your reputation is merely what others think of you."
DesolateMx 8.0
ok its not my code yeah its rumbaars but this is the code to whisper me script and get me main script to kick
on *:TEXT:*:?: {
if (*groups* iswm $1-) {
if (%nick) && (%nick ison $comchan($me,1)) { notice %nick !advertise $nick | closemsg $nick }
}
but i want the sleeper script to whisper the person who whispered me if they say asl i want it to reply
btw u wont get banned from here cos ur helping someone!! ![]()
This one works for me. Just add your asl and remove the ().
on *:TEXT:*:?: {
if (*asl* iswm $1-) { notice $nick (ASL HERE) and Please do not whisper me again $nick
/window -c $nick
}
}
![]()
"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers
tutorial time.
on TEXT
The on TEXT event triggers when you receive private and/or channel messages.
Format: on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
Example: on 1:TEXT:*help*:#mirc,#irchelp:/msg $nick what's the problem?
The on ACTION and on NOTICE events use exactly the same format as on TEXT, and trigger on an action and on a notice event respectively.
The match text can be a wildcard string, where:
* matches any text
& matches any word
text matches if text contains only this word
text* matches if text starts with this word
*text matches if text ends with this word
*text* matches if text contains this word anywhere
The match text can also be a regular expression. See the $ prefix section in Access Levels.
The location where this event occurrs can be specified using:
? for any private message
# for any channel message
#mirc for any messages on channel #mirc
* for any private or channel messages
Examples
on 1:TEXT:hello*:#:/msg $chan Welcome to $chan $nick!
This listens on any channel for any line beginning with the word hello and welcomes the user who said it to the channel.
on 1:TEXT:*cookie*:#food:/describe $chan gives $nick a cookie
This listens on channel #food for any message containing the word cookie and gives the user who said it a cookie.
on 1:ACTION:moo:#:/msg $chan Aha, I see we have a cow among us.
This listens on any channel for an action that contains the word moo and responds accordingly.
on 1:NOTICE:*:?:/msg $nick I'm AFK, back in a moment!
This listens for any private notice and responds with the message that you're away from the keyboard.
For more flexibility, you can also use Variables in place of both the matchtext and the channel parameters.
on 1:TEXT:%matchtext:%channel:/msg $nick You just said $1- on channel %channel
The value of %matchtext will be matched against whatever text the user sends, and the value of %channel will be matched against the channel to which the message was sent.
Note: You can't test out these events by typing text to yourself. They can only be initiated by someone else saying something in a channel or in a private message.
read this. try using the help file more often instead of always resorting to asking for help with minor things. things like whisper messages and that can be done really easy if you read the help file. Major things like flood protection, that gets abit tricky, so yea.
This one works for me. Just add your asl and remove the ().
on *:TEXT:*:?: { if (*asl* iswm $1-) { notice $nick (ASL HERE) and Please do not whisper me again $nick /window -c $nick } }
not being funny yeah but it didnt help me and gatekeeper i have read the file and wat u said but really cant make this code....
wat i wanna do is wen someone whispers my sleeper script asl
it replys to the person an asl pls hrlp give me the code thanks
on *:asl:*:?: {
{ notice $nick my (?) is, Please dont whisper me again - it's annoying }
/window -c $nick
}
Cant Guarentee it'll work but worth a try
on *:asl:*:?: { { notice $nick my (?) is, Please dont whisper me again - it's annoying } /window -c $nick }Cant Guarentee it'll work but worth a try
no its didnt work maybe i should have said i am using the vincula connection for msn group chat
sorry
The one i posted worked for me using Vincula. It responded my asl and closed the window as soon as it did.
"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers
on *:*asl*:?: {
{ notice $nick my (?) is, Please dont whisper me again - it's annoying }
/window -c $nick
}
Just fixed some typos ![]()
:'( i dont understand y it still isnt working:'( this is really annoying
on *:TEXT:asl:?: {
msg $nick Im an old homeless male
window -c $nick
}
i give up with trying i dont understand y it isnt working:| its really silly it used to work but isnt:| i dont understand y the sleeper works to whisper me other script but not to whisper the person that whispered it:| oh well
Dunno what is wrong, but the code I gave works for me.
Sign in to reply or start a new topic where your account has permission.