mIRC Homepage
Posted By: alhammer on ownerkey change evert - 19/02/05 08:45 PM
Hey. I'm trying to write a code to do this: When the ownerkey is changed, it sets %pass to whatever it was set to. The only problem is that there is no on Prop. Any ideas?
Posted By: tidy_trax Re: on ownerkey change evert - 19/02/05 08:53 PM
It's raw prop, not on prop. wink
Posted By: Online Re: on ownerkey change evert - 19/02/05 08:59 PM
Indeed, it's raw PROP. See /help raw events under Examples.

Code:
raw PROP:*:{
  echo -ste * PROP change detected: $1-
}
Posted By: alhammer Re: on ownerkey change evert - 19/02/05 09:04 PM
ok. But how do i specify which prop. EX: ownerkey, hostkey. ?
Posted By: tidy_trax Re: on ownerkey change evert - 19/02/05 09:23 PM
Code:
raw PROP:*:{
  if ($1 == ownerkey) { set %pass $2 }
}
© mIRC Discussion Forums