mIRC Home    About    Download    Register    News    Help

Print Thread
how to do... #8244 25/01/03 09:10 AM
Joined: Dec 2002
Posts: 28
B
bibadi Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2002
Posts: 28
Well i want to when some one is querying me, to do an automated whois, and I want to do auto voice someone when he joins #]MoM[ and

on *:INPUT:#:{
if ((/* iswm $1) || ($ctrlenter)) return
var %1- = $1-
while ($istok(%1-, lol, 32)) %1- = $reptok(%1-, lol, 3Laughing Out Loud, 1, 32)
say %1-
halt
}

This only works in channels not in query's can someone help me with these 3 things please, thank you


I'm.... LETHAL
Re: how to do... #8245 25/01/03 12:32 PM
Joined: Dec 2002
Posts: 77
B
BlackAle Offline
Babel fish
Offline
Babel fish
B
Joined: Dec 2002
Posts: 77
/help ON input
/help ON open
/help ON text
/help ON join

Re: how to do... #8246 25/01/03 12:59 PM
Joined: Dec 2002
Posts: 395
M
MonoSex Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Quote:
Well i want to when some one is querying me, to do an automated whois


Options-> IRC-> "Whois on querry".
Should work wink

Re: how to do... #8247 25/01/03 01:06 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Q: Well i want to when some one is querying me to do an automated whois,
A: Alt -O / IRC / [X] Whois on Query

Q: I want to do auto voice someone when he joins #]MoM[
A: on @!*:JOIN:#]MoM[: mode $chan +v $nick

Q: This only works in channels not in query's.
A: on *:INPUT:*:{


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: how to do... #8248 25/01/03 01:09 PM
Joined: Dec 2002
Posts: 28
B
bibadi Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2002
Posts: 28
that first 1 i don;t get... where do i have 2 put it, and the 3 one, how can i make it work on queries?


I'm.... LETHAL
Re: how to do... #8249 25/01/03 01:26 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
To expand:

Q: Well i want to when some one is querying me to do an automated whois,
A:
  1. On your menubar, select
    File
    Options (Alt -O)
  2. When the Options dialog opens up in treeview, click on
    IRC (which is underneath Connect and all of its options)
  3. You will see 2 columns of checkboxes. Make sure the 7th checkbox in the first column on the left is checked:
    [X] Whois on query


Q: This only works in channels not in query's.
A: You can use any of the following characters to designate what kind of window you want to capture the input for: *#?=!@

on *:INPUT:#: is for channels only
on *:INPUT:?: is for queries only
on *:INPUT:=: is for DCC Chat
on *:INPUT:!: is for fserve
on *:INPUT:@: is for custom windows
on *:INPUT:*: is for all windows

So, you either want to put the actual code of the on INPUT inside and alias you call from both on *:INPUT:#: and on *:INPUT:?: or perhaps use simply on *:INPUT:*: (all windows) and just use the code itself inside the event since you don't need it elsewhere.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: how to do... #8250 25/01/03 03:40 PM
Joined: Jan 2003
Posts: 237
X
xrn0id Offline
Fjord artisan
Offline
Fjord artisan
X
Joined: Jan 2003
Posts: 237
for the voice on join, put this in your remotes.

Code:
on *:JOIN:#]MoM[: {
  if ($nick == [color:blue]your buds nick[/color] ) {
    /mode #]MoM[ +ooo $nick
  }
}


Last edited by Hammer; 25/01/03 04:27 PM.


;Check for Life

if (%life == $null) {
goto getlife
}
Re: how to do... #8251 25/01/03 03:44 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
xrn0id please close your code tags, it stretches the page.