mIRC Home    About    Download    Register    News    Help

Print Thread
#114458 14/03/05 10:27 PM
Joined: Feb 2005
Posts: 193
A
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 193
Hey. What would the code be to set %pass to whatever the ownerkey was set to? I need it to work for when it is changed by people otherthan me aswell as me. Obiously I would have to be owner at the time. I know it used a raw.

I believed it was something in this neighborhood:
Code:
raw ***:*: {
  if ($1 == ownerkey) {
    set -s %pass $2
  }
}

Eh? confused

#114459 14/03/05 10:41 PM
D
DaveC
DaveC
D
Dont know the answer sorry, but one way to find it might be

raw *:*:echo -st RAW DUMP $numeric : $1-

Then just stare at all the junk in the status window, untell you see the one it is.


The help also talks about "Raw PROP:" but i dont think that PROP and yours are the same thing!?!?!
In fact i think PROP there might mean the server sends the litteral text "PROP" but im not sure, helps kinda lacking on whats what here, any one want to enlighten me?
ie : raw PROP:*:echo -st PROP DUMP $1-

(would raw *:* suck them up anyway as the first * catches all numbers and words? i dont know i never seen one yet)

#114460 14/03/05 10:54 PM
Joined: Feb 2005
Posts: 193
A
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 193
laugh Hey, I looked in the help file for a seconed time, and noticed that it does use the "prop" as an example. I used:
Code:
raw PROP:*ownerkey*:/echo 5 $1- 

It does what I neded by echoing when it is changed by anyone! Howvwer, what would I use to set it as the variable? set -s %pass $1- doesn't work. It sets it as #mIRC OWNERKEY blah. How can I identify just the pass itself?

Last edited by alhammer; 14/03/05 11:05 PM.
#114461 14/03/05 11:53 PM
F
funman
funman
F
easy, count the words...if it sets %pass to "#mIRC OWNERKEY blah" then $1 is #mIRC, $2 is OWNERKEY and $3 is the key itself.

#114462 15/03/05 12:20 AM
Joined: Feb 2005
Posts: 193
A
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 193
thanks bud. laugh

#114463 15/03/05 07:24 AM
D
DaveC
DaveC
D
This may sound like a stupid question but.... Whats PROP stand for anyway ?

#114464 15/03/05 07:29 AM
N
NeUtRoN_StaR
NeUtRoN_StaR
N
prop is a ircx command
as for what it stands for im not certain but
(in case you didn't know but im betting u did)
it lets you set a host key fro a room a owner key for a room
a onjoin and on part message
according to the thesaurus synonyms for prop include support and sustain

#114465 15/03/05 08:59 AM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Channel property, you can set things like the ownerkey, hostkey, onjoin message, onpart message, language, etc.


Link Copied to Clipboard