mIRC Home    About    Download    Register    News    Help

Print Thread
/cs unban script #241182 26/03/13 06:21 AM
Joined: Mar 2013
Posts: 2
G
Garrett93 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Mar 2013
Posts: 2
Hi,

I have frequently found myself in a ban war with a friend of mine in a channel that we both have +O privileges. I am looking for a script that will perform the /cs unban #channel command followed by a /j #channel command when he does a +b on my address.

I have no clue how to do it. Anyone have one I can copy?

I would appreciate it if you could tell me how to implement a script also, as I haven't done it before.

Thanks,
G93

Re: /cs unban script [Re: Garrett93] #241183 26/03/13 06:45 AM
Joined: Mar 2004
Posts: 526
HorseC Offline
Fjord artisan
Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
It may be a mute point, if the 'owner' 'founder' of the channel sees this kind of 'war' one of you (or both) may loose your ops status.. Suggest to your 'fellow op' that he should think about that.

With respect,
HorseC


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
Re: /cs unban script [Re: HorseC] #241185 26/03/13 07:19 AM
Joined: Mar 2013
Posts: 2
G
Garrett93 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Mar 2013
Posts: 2
Nah, it's no business channel or anything, the owners are our friends too.

It's all fun and games, but the script would be pretty cool laugh

Re: /cs unban script [Re: Garrett93] #241198 27/03/13 05:31 AM
Joined: Mar 2004
Posts: 526
HorseC Offline
Fjord artisan
Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
in that case..
look at the on ban and on kick sections of the mirc help file (/help) you could test if ($nick == $me) and take the appropriate actions. Its not hard to code...

Good luck.


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
Re: /cs unban script [Re: HorseC] #241208 27/03/13 05:37 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Try use this one maybe helps.

Code:
raw 474:*: {
  haltdef
  echo -a *** [WARNING]: You have been banned to the  $+ $2 $+  channel, Using OperServ to join.
  os mode $2 -bb+e $me $address($me,1) $me
  .timer[JOIN_ $+ $2 $+ ] 1 1 join $2
}

Last edited by westor; 27/03/13 05:37 PM.