mIRC Home    About    Download    Register    News    Help

Print Thread
#23032 07/05/03 06:22 PM
N
NiCk2
NiCk2
N
Hello, I'm actually doing my script and I was wondering wether the /ame is a specific server command or is it just a hidden alias of mIRC itself ?
That is to say, is the something like this inside mIRC :
Code:
 
alias ame {
var %i = 1
var %MAX = $chan(0)
while (%i <= %MAX) {
describe $chan(%i) $$1-
inc %i
}
}

Thank you in advance for any help smile
PS : I can't get the code brackets to act on my code lines, strange lol

#23033 07/05/03 06:25 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
It is a command built into mIRC, but it doesn't send a privmsg command for each channel, it makes a string of all the channels you are on comma seperated and sends one privmsg command, i.e.:

PRIVMSG #channel1,#channel2,#channel3 :ACTION test
instead of
PRIVMSG #channel1 :ACTION test
PRIVMSG #channel2 :ACTION test
PRIVMSG #channel3 :ACTION test

Presumably it will stop adding to the list of channels and start a new list at some point, but I'm not sure where.

#23034 07/05/03 06:57 PM
N
NiCk2
NiCk2
N
So if I were to do a loop to do a /describe only on particular chans, I would be flooding the server more than if I did an /ame ?
If that's the case then I should do a loop to set a list of chans and only then do :
/raw PRIVMSG %ListOfChans :ACTION Text...
Am I right or am I wrong ? lol
Thanks again for any answer you may give me smile

#23035 07/05/03 07:02 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
Right on both counts smile


Link Copied to Clipboard