mIRC Homepage
Posted By: moshkin Temp banning - 19/04/07 04:34 PM
This script basically temp bans them when they say !dm, but i've asked in #mirc but everyone says it should work, but it doesnt...


Code:
 on *:TEXT:!dm:#: { ban -ku10 $chan $nick 2 $me pulls out a dds and specs, KO! (please dont use !dm again) }
 
Posted By: RusselB Re: Temp banning - 19/04/07 05:22 PM
A small alteration will ensure that the client running the code has sufficient access to ban.
Code:
on @*:TEXT:!dm:#:{ ban -ku10 $chan $nick 2 $me pulls out a dds and specs, KO! (please dont use !dm again) }


Aside from that, the only other reason I can think of it not working, is if the remotes section in the client with the code (aka bot) is turned off. To ensure that they are on, using the client that has the code, type /!remote on

Posted By: moshkin Re: Temp banning - 19/04/07 05:37 PM
* Remote is on (Ctcps,Events,Raw)


I turned remotes on and altered the script, it still doenst work for some reason.
Posted By: RusselB Re: Temp banning - 19/04/07 10:55 PM
Details required, as I just tested it, and it works as written.
Posted By: Riamus2 Re: Temp banning - 19/04/07 11:52 PM
Make sure you don't have another on TEXT event above that one in the same file.

Example:

Code:
on *:text:*:#: { do this }

on *:TEXT:!dm:#: { ban -ku10 $chan $nick 2 $me pulls out a dds and specs, KO! (please dont use !dm again) }
© mIRC Discussion Forums