mIRC Homepage
Posted By: _AJ_ RAW 804 / Access - 01/03/04 05:39 AM
Hey guys , I am trying to see if on the raw 804 wich it returns the access list. I want to be able to retreive the date when the ban or access was set. here is the code

raw 804:*: {
inc %acc
if ($1- != $null) {
did -a access 1 %acc $+ : $3 $4
if ($7- == $null) { did -a access 1 Reason : Uknown Reason }
if ($7- != $null) { did -a access 1 Reason : $7- }
if ($5 != 0) { did -a access 1 Expires in : $duration($calc($5 * 60)) }
if ($5 == 0) { did -a access 1 Expires: Unlimited Time }
if ($6 == $null) { did -a access 1 Set By : Unknown User }
if ($6 !== $null) { did -a access 1 Set By : $6 }

did -a access 1 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
}
}

as you can see .. $6 returns the nick of who set the ban, $7 returns the reason, but i cant figure then one for that ban date.
Posted By: bloupx Re: RAW 804 / Access - 01/03/04 08:48 AM
what network?
Posted By: tidy_trax Re: RAW 804 / Access - 01/03/04 10:39 AM
maybe it will help if you paste what the raw replies with (you can see it in: /debug @debug), because not many networks use the /access command.
Posted By: _AJ_ Re: RAW 804 / Access - 01/03/04 03:33 PM
The Server or network is IRCX

sorry
Posted By: bloupx Re: RAW 804 / Access - 01/03/04 08:48 PM
ircx isnt = ircx ... different networks use different software and the raw 804 reply isnt the same for them all.


raw 804:*:echo -s $1-

that way you get all the tokens,
or just use the /debug method tidy trax posted.
© mIRC Discussion Forums