mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
how can i use the address of somebody not in my ial returned to me so i can use it in a script? like i need what /whois or /userhost returns, but in an identifier to return it

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You can't do that in an identifier, you will have to do a /userhost (or similar) and wait for the raw response.

The /userhost raw reply is number 302.

Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
ok im not very good with this. can you give me the on raw command that will take it, and store it in a variable, lets say %host

Joined: May 2004
Posts: 1
E
Mostly harmless
Offline
Mostly harmless
E
Joined: May 2004
Posts: 1
With the information received from /userhost, what do you want to do with it? There are many things you can do with it, which probably is any mIRC command.

Also, just to make note, if you're on UnderNet or any other network with masked hosts, and they have a *!*@*.users.undernet.org, it will show as the users.undernet.org host, NOT their real host. Some people have probably gotten confused by this.

Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
it would be used with
mode $chan +b <host here> <-- in form *!*@host

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Why not let mirc do it for you?

/ban $chan $nick 2

/help /ban
/help $mask


I refuse to engage in a battle of wits with an unarmed person. wink

Link Copied to Clipboard