mIRC Home    About    Download    Register    News    Help

Print Thread
#73259 01/03/04 05:39 AM
Joined: Feb 2004
Posts: 7
_
_AJ_ Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
_
Joined: Feb 2004
Posts: 7
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.

#73260 01/03/04 08:48 AM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
what network?

#73261 01/03/04 10:39 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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.


New username: hixxy
#73262 01/03/04 03:33 PM
Joined: Feb 2004
Posts: 7
_
_AJ_ Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
_
Joined: Feb 2004
Posts: 7
The Server or network is IRCX

sorry

#73263 01/03/04 08:48 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
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.


Link Copied to Clipboard