mIRC Home    About    Download    Register    News    Help

Print Thread
#3037 22/12/02 03:25 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
hey,
this is all based on ircx btw...

i need a raw that echos a 'prop' (specifically OWNERKEY) to @pass
for those of you unaware of props and alike...
/prop %#channel OWNERKEY blah
this will change the ownerkey to 'blah'...this is used in IRCX

when someone changes the 'OWNERKEY' by using a prop i want ' Nick changed the OWNKEY key in %#channel to 'OWNKETKEYHERE' ' to be echoed to @pass

i have tried....
raw prop:HOSTKEY:{ /echo @Pass $nick Changed The HOSTKEY To $3- In $chan | set %hkey $3- }

but it doesn't work...
thanx in advance

AMR

#3038 22/12/02 03:45 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/debug @raw

to see what server is sending you...


Code:
//if ( khaled isgod ) echo yes | else echo no
#3039 22/12/02 03:52 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
i dont get anything in that window....i tested the OWNERKEY things when that was up...i get nothing

oh wait..

-> TK2CHATCHATA03 NOOP

i got that just now

#3040 22/12/02 03:52 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
i keep ketting that NOOP thing

#3041 22/12/02 04:05 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
-> TK2CHATCHATA01 PROP %#!!!~All~Host~!!! hostkey 78003
<- :TK2CHATCHATA01 908 >lola :No permissions to perform command

got that now....that happened when i changed the 'hostkey' to 78003

what do i do from here?

#3042 22/12/02 06:44 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
anyone at all?

pls

#3043 22/12/02 07:05 PM
Joined: Dec 2002
Posts: 164
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 164
Try code below - any supported (by the ircd sercer) raw number should be displayed::
Code:
 
#rawlogger off
; Raw debugger
RAW *:*:{ 
  IF (!$window(@RawLogger)) { 
    window -ne @RawLogger 
    titlebar @Rawlogger Format: RawNumber: Nickname : Returned Values 
  } 
  aline @RawLogger $numeric $2- 
}
#rawlogger end

To turn it ON type: /enable #rawlogger
To turn it OFF type: /disable #rawlogger


DALnet: #HelpDesk, #mIRC, #MISHScript - Undernet: #mIRC, #mIRC-Scripts
#3044 22/12/02 07:10 PM
Joined: Dec 2002
Posts: 9
D
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
D
Joined: Dec 2002
Posts: 9
raw PROP:*: { echo -a $nick sets the $2 property to: $3- }

This will echo any property change (topic, onjoin, hostkey, ownerkey, language), give the $nick that did it, the property that changed ($2) and what it changed to.

For example...
Dark Sky sets the OWNERKEY property to: newownerpass

If you only wanted password logging, you could use...
raw prop:*ownerkey*:
raw prop:*hostkey*:

You need to be Op in the channel to see prop changes.

Since you're talking about MSN chat, you need to be Owner. wink

#3045 22/12/02 10:31 PM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
nope and nope
this is bizarre...

will keep having a go at it

#3046 22/12/02 10:31 PM
Joined: Dec 2002
Posts: 79
F
Babel fish
Offline
Babel fish
F
Joined: Dec 2002
Posts: 79
This works
raw prop:*: {
if ownerkey isin $1- { /privmsg you Ownerkey of $1 has been changed to $3- by $nick }
if hostkey isin $1- { /privmsg you Hostkey of $1 has been changed to $3- by $nick }
}

#3047 23/12/02 09:07 AM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
ty m8.. i will give that a try.
i need it to echo to @pass so all i need to do is change '/pirvmsg' to '/echo @pass'....

will reply in a sec and tell u how it went

#3048 23/12/02 09:12 AM
Joined: Dec 2002
Posts: 16
A
amr Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Dec 2002
Posts: 16
wahoo!!!
it works !!!!!!!!

thanx m8..i owe u one smile

do'h, $1 gives u the channel...im stupid

thanx again!

also..is it possible to display 'The ownerkey has been nulled in %#chan by Nick' when sum1 nulls the ownerkey??

#3049 30/12/02 02:50 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
try this:

raw prop:*:{
if (!$3) && ($3 != 0) echo $1 $2 cleared on $1 by $nick
}


Link Copied to Clipboard