|
|
| Author |
Message |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 1:04am Post subject: Whois |
|
|
| I need a script for somone whois me he's get a message.. |
|
| Back to top |
|
 |
trystan Eleet

Joined: 15 Jun 2005 Posts: 756 Location: SLC Utah
|
Posted: Oct 15, 2005 2:52am Post subject: |
|
|
For mIRC and Unreal
| Code: |
on *:snotice:*/whois on you*: {
notice $2 Who are you? and why are whoising me?
}
|
|
|
| Back to top |
|
 |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 3:37am Post subject: |
|
|
Must i change it?
on *:snotice:*/whois $me*: {
notice $2 Who are you? and why are whoising me?
} |
|
| Back to top |
|
 |
trystan Eleet

Joined: 15 Jun 2005 Posts: 756 Location: SLC Utah
|
Posted: Oct 15, 2005 4:31am Post subject: |
|
|
No, the message from the server is
: *** nick (ident@host) did a /whois on you.
Thus what I posted the first time will work |
|
| Back to top |
|
 |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 8:21am Post subject: |
|
|
| I'am network administrator and it isn't working.. And i have UnrealIRCD |
|
| Back to top |
|
 |
toenie none

Joined: 21 Jun 2005 Posts: 25
|
Posted: Oct 15, 2005 9:41am Post subject: |
|
|
| Code: | ON *:SNOTICE:*: {
if ($6 == /whois) {
notice $2 7'12 Hello $2 $+ , what's the problem? 7'
}
}
|
|
|
| Back to top |
|
 |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 11:39am Post subject: |
|
|
Isn't too not working....  |
|
| Back to top |
|
 |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 11:45am Post subject: |
|
|
| Maybe i change the server settings? |
|
| Back to top |
|
 |
toenie none

Joined: 21 Jun 2005 Posts: 25
|
Posted: Oct 15, 2005 11:51am Post subject: |
|
|
| It's working for me. Try to put the script on another page and try again. |
|
| Back to top |
|
 |
Niels Newbie

Joined: 14 Oct 2005 Posts: 57 Location: The Netherlands, Helmond
|
Posted: Oct 15, 2005 12:23pm Post subject: |
|
|
| Lol, works forgot to set: +W |
|
| Back to top |
|
 |
Mystic-Flame none

Joined: 25 Sep 2005 Posts: 33
|
Posted: Oct 30, 2005 2:48am Post subject: |
|
|
Here is a randomized one:
on *:SNOTICE:*:{
;Server Notices
if ($4-8 == did a /whois on you. && $0 == {
raw -q notice $2 $whoisn
}
}
alias -l whoisn {
var %temp.rand $rand(1,4)
if (%temp.rand == 1) { RANDOM REPLY 1 }
if (%temp.rand == 2) { RANDOM REPLY 2 }
if (%temp.rand == 3) { RANDOM REPLY 3 }
if (%temp.rand == 4) { RANDOM REPLY 4 }
} |
|
| Back to top |
|
 |
Guest
|
Posted: Oct 30, 2005 4:41am Post subject: |
|
|
What a long winded way to do it.
| Code: |
on *:SNOTICE:*whois on you*: {
notice $2 $read(whois.txt)
}
|
Then create whois.txt in your mirc dir, put a new reply on each line and mirc will read one at random each time. |
|
| Back to top |
|
 |
PingBad Guru

Joined: 05 Feb 2005 Posts: 1941 Location: New Zealand
|
Posted: Oct 30, 2005 4:43am Post subject: |
|
|
| Mystic-Flame wrote: | Here is a randomized one:
on *:SNOTICE:*:{
;Server Notices
if ($4-8 == did a /whois on you. && $0 == {
raw -q notice $2 $whoisn
}
}
alias -l whoisn {
var %temp.rand $rand(1,4)
if (%temp.rand == 1) { RANDOM REPLY 1 }
if (%temp.rand == 2) { RANDOM REPLY 2 }
if (%temp.rand == 3) { RANDOM REPLY 3 }
if (%temp.rand == 4) { RANDOM REPLY 4 }
} | OI! I made that script, dont u dare claim it off as yours, Mystic. Link to original script here |
|
| Back to top |
|
 |
Mystic-Flame none

Joined: 25 Sep 2005 Posts: 33
|
Posted: Oct 30, 2005 5:37pm Post subject: |
|
|
| Never said it was mine o.o just posting it |
|
| Back to top |
|
 |
PingBad Guru

Joined: 05 Feb 2005 Posts: 1941 Location: New Zealand
|
Posted: Oct 30, 2005 5:45pm Post subject: |
|
|
| Mystic-Flame wrote: | | Never said it was mine o.o just posting it | Didn't say it wasn't either.
Now, I dont mind people using scripts I have made, however I do like a bit of recognition for the work I put into them |
|
| Back to top |
|
 |
|