mIRC Home    About    Download    Register    News    Help

Print Thread
#86066 09/06/04 09:26 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
I've been reading a lot of posts on here about raw codes that are for stuff like viewing the /list, etc.. I don't understand though what is the difference between using the raw code and actually using the real command, etc. itself? Is there advantages to using raw codes, and how could I obtain a list of some good common raw codes if there is a good advantage?

#86067 09/06/04 10:18 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Quote:
I don't understand though what is the difference between using the raw code and actually using the real command, etc. itself?

I don't think you understand what raws are. They are sent from the server to you, not vice-versa, and they don't replace commands like /list.

When you do a /list, /names, /userhost, or almost all of the other IRC commands the response will come as a message with a numeric (this numeric is what is caught by a raw event in mIRC), for example a /list reply will be raw 321 (list start), 0 or more raw 322s (individual channel info) and a raw 323 (end of list). mIRC will process these raws to decide what to show in the channel list.

To see the data sent between you and the server open a debug window with /debug @debug

#86068 09/06/04 01:36 PM
Joined: Mar 2004
Posts: 108
X
Vogon poet
Offline
Vogon poet
X
Joined: Mar 2004
Posts: 108
this is the link i use for raws: ( well rounded and good to get scripts as compatible to dif IRCd's as possible)
RAWS
you may also learn a little bit by putting this into your remote script editor:
raw *:*: echo -s $numeric $1-
that will echo to your status raw events and their numerics

-hope it helps -cheers


sometimes these are as bad as quit messages :tongue:
#86069 09/06/04 06:32 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Thanks to both of you smirk


Link Copied to Clipboard