mIRC Home    About    Download    Register    News    Help

Print Thread
#196187 12/03/08 01:08 PM
Joined: Dec 2007
Posts: 4
B
Bozi Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Dec 2007
Posts: 4
usually when you choose Ban, Kick (why) it bans the person and opens the window for you to type the reason. is there any way to modify it so it bans and kicks after i type the reason and press "OK"?

Bozi #196188 12/03/08 01:25 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Open the script editor to the Popups menu by hitting Alt+P

Select Nick List in the View menu

Replace these two lines
.Ban, Kick:/ban $$1 2 | /timer 1 3 /kick # $$1
.Ban, Kick (why):/ban $$1 2 | /timer 1 3 /kick # $$1 $$?="Reason:"

with these two lines
.Ban, Kick:ban -k $$1 2
.Ban, Kick (why):ban -k $$1 2 banned: $$?="Reason:"

RoCk #196189 12/03/08 01:40 PM
Joined: Dec 2007
Posts: 4
B
Bozi Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Dec 2007
Posts: 4
worked, thanks grin


Link Copied to Clipboard