Top

Simple Inputs

Please Register to submit score.
Average Score  5.0
Scores Submitted  3
Date Added  May 20, 2008
Last Updated  Jun 29, 2008
Tags  channel  input  mode  script  snippet 

Introduction

Update: I added a alias to display the commands that can be used. Type /Jcommands to view them

Update: I added a unban command

Update: I changed the nick commands so if you want to op, halfop, or voice your self just type +/-o for op or deop, +/-h for halfop or de-halfop, and +/-v for voice or devoice.

Grab the Code

Comments

  (8)  RSS
Jamiie
Comments: 90
 
mIRC Snippet:  Simple Inputs
Posted on May 21, 2008 2:27 am
Wow, thanks for the 3 rating. May be useful to some people. :P
PunkTuReD
Comments: 59
 
mIRC Snippet:  Simple Inputs
Posted on May 28, 2008 2:23 am
i gave it a 7
mayb add a option to see what available commands are
Jamiie
Comments: 90
 
mIRC Snippet:  Simple Inputs
Posted on May 28, 2008 12:33 pm
Will do. :P
Jamiie
Comments: 90
 
mIRC Snippet:  Simple Inputs
Posted on May 28, 2008 1:06 pm
Update, I added alias to display commands.
Jamiie
Comments: 90
 
mIRC Snippet:  Simple Inputs
Posted on May 29, 2008 12:56 pm
Added a unban command.
Gummo
Comments: 100
 
mIRC Snippet:  Simple Inputs
Posted on May 30, 2008 12:24 am
Wouldn't .ban and .unban be +b and -b respectively?
napa182
Comments: 743
 
mIRC Snippet:  Simple Inputs
Posted on May 30, 2008 12:34 am
on ur ban's you are just banning the nick so all the person has to do is change nicks and come back maybe do
Code:
if ($1 == .ban) { mode $chan +b $address($2,2) }


same thing for unban
Code:
if ($1 == .unban) { mode $chan -b $address($2,2) }


and on ur kickban
Code:
if ($1 == .kb) { ban -k $chan $2 2 }


you can also shorten some of the code by useing regex ex:
Code:
on *:input:*: {
  if ($regex($1,/^[+-][qaovh]$/)) { mode $chan $1 $iif(!$2,$nick,$2) }
  if ($regex($1,/^[+-][impRslk]$/)) { mode $chan $1- }
}



PunkTuReD
Comments: 59
 
mIRC Snippet:  Simple Inputs
Posted on May 30, 2008 10:23 am
maybe a "protect user" command

Please Register or Login to start posting comments.
Bottom