mIRC Homepage
Posted By: alhammer deowner - 19/02/05 05:23 AM
Hey. Im trying to figure out a code: When someone de-owners me, it will part the channel then join with %pass and kick the nick that deownered me. Any ideas?
Posted By: SladeKraven Re: deowner - 19/02/05 06:07 AM
Do you mean something like;
Code:
on 1:DeOwner:#: {
  set -u60 %deowner.chan $chan
  set -u60 %deowner.nick $nick
  if ($opnick == $me) {
    part $chan
    join %deowner.chan
    <identy to chan commands>
    kick %deowner.chan %deowner.nick
  }
}
Posted By: ricky_knuckles Re: deowner - 19/02/05 06:42 AM
i like the idea of setting the chan and nick to variables at the beginning
strike that reverse it setting variables to the chan and nick
good idea
Posted By: SladeKraven Re: deowner - 19/02/05 07:12 AM
Cheers man. grin
Posted By: ricky_knuckles Re: deowner - 19/02/05 07:35 AM
probably be better in a kick return though
but like i said a nice little "trick"
cheers back at you.
Posted By: alhammer Re: deowner - 19/02/05 08:47 PM
Thanks Slade_Kraven!!! grin
Posted By: SladeKraven Re: deowner - 20/02/05 11:16 AM
You're welcome.

Quote:
Thanks Slade_Kraven!!! grin


//echo -a Before: Slade_Kraven!!! | tokenize 95 Slade_Kraven!!! | echo -a After: $1 $+ $2

Echoes:

Before: Slade_Kraven!!!
After: SladeKraven!!!
© mIRC Discussion Forums