mIRC Home    About    Download    Register    News    Help

Print Thread
E
Exlax
Exlax
E
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,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
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.

E
Exlax
Exlax
E
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

E
EddieSoft
EddieSoft
E
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.

E
Exlax
Exlax
E
it would be used with
mode $chan +b <host here> <-- in form *!*@host

C
CtrlAltDel
CtrlAltDel
C
Why not let mirc do it for you?

/ban $chan $nick 2

/help /ban
/help $mask


Link Copied to Clipboard