mIRC Home    About    Download    Register    News    Help

Print Thread
#175248 19/04/07 04:34 PM
Joined: Oct 2006
Posts: 60
M
moshkin Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Oct 2006
Posts: 60
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) }
 

moshkin #175249 19/04/07 05:22 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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


RusselB #175250 19/04/07 05:37 PM
Joined: Oct 2006
Posts: 60
M
moshkin Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Oct 2006
Posts: 60
* Remote is on (Ctcps,Events,Raw)


I turned remotes on and altered the script, it still doenst work for some reason.

moshkin #175263 19/04/07 10:55 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Details required, as I just tested it, and it works as written.

moshkin #175270 19/04/07 11:52 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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) }


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard