mIRC Home    About    Download    Register    News    Help

Print Thread
#171471 24/02/07 07:06 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Code:
ON *:TEXT:!whois*:#spelops:{
whois $2
msg $chan $2 is $address($1,2)
}


I know it's weird, it needs to msg the nick and the address...

Php Code:

[u]NickName[/u] is [u]ID/Address[/u] 
 


Php Code:

Duck_Power is *!*@What.Did.You.Do.Doc
 


Something like that?


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #171476 24/02/07 07:13 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I'm not sure why you're doing a /whois there since you aren't using any data that is gained from the /whois. Still, the problem with your code is in the $address. $1 should be $2.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #171479 24/02/07 07:27 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Ty Ty.. That works..
Andah i got another one:

I've got a bot. Pm bot.
When somebody is going private i can answer the guy/girl/thing who is talking with my bot. With !say <name or chan> <text>
then my bot will say what i wanna say to that girl/guy/thing. But if the girl/guy/thing has quited, my bot needs to show :
[time & date] [NickName no such/channel]

You/somebody knows the command for that??:| Somebody told me it was a raw...

Here is my say command :

Code:
On *:TEXT:!Say*:#spelops:{
  msg $2 $3-
}


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #171486 24/02/07 09:16 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Include the following with your script:

Code:
RAW 401:*: {
  msg #spelops $+([,$date(mm/dd/yyyy hh:nntt),]) $3- $+ : $2
}

RAW 403:*: {
  msg #spelops $+([,$date(mm/dd/yyyy hh:nntt),]) $3- $+ : $2
}


You can change the $date format to suit your needs.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #171487 24/02/07 09:17 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
What does that do??


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #171491 24/02/07 09:24 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
It does what you asked. It will msg the channel with the error message.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #171522 25/02/07 10:54 AM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
If somebody is italian, and his Host/IP finals on : .it, eh.
Is there a script, to ignore the girl/guy/thing ???
Like, eh :

Code:
ON *:OPEN:*:*:{
ifhost == *.it* {
ignore $nick
}
}


:s


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #171533 25/02/07 04:01 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Note: This will not work if the server is unable to resolve the DNS address.
Code:
on *:open:*:*:{
  if *.it iswm $address($nick) {
    ignore $nick
  }
}

RusselB #171535 25/02/07 04:14 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
ty


Squee whenever a squee squee's. Squee whenever a squee does not squee.

Link Copied to Clipboard