Chatspace Inputs

Platform:  mIRC
Published  Feb 16, 2010
Updated  Feb 16, 2010
Load these into your remote and when you type .op nick in a channel you'll make them mod, it's a lazy way of doing things! ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;inputs;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:INPUT:#:{
if ($1 == .op) {
if (!$2) mode $chan +o $me
if ($2) mode $chan +o $2
}
if ($1 == .deop) {
if (!$2) mode $chan -o $me
if ($2) mode $chan -o $2
}
if ($1 == .voice) {
if (!$2) mode $chan +v $me
if ($2) mode $chan +v $2
}
if ($1 == .devoice) {
if (!$2) mode $chan -v $me
if ($2) mode $chan -v $2
}
if ($1 == .aop) {
if (!$2) services aop $chan ADD $me
if ($2) services aop $chan ADD $2
}
if ($1 == .sop) {
if (!$2) services sop $chan ADD $me
if ($2) services sop $chan ADD $2
}
if ($1 == .vop) {
if (!$2) services vop $chan ADD $me
if ($2) services vop $chan ADD $2
}
if ($1 == .delaop) {
if (!$2) services aop $chan DEL $me
if ($2) services aop $chan DEL $2
}
if ($1 == .delsop) {
if (!$2) services sop $chan DEL $me
if ($2) services sop $chan DEL $2
}
if ($1 == .delvop) {
if (!$2) services vop $chan DEL $me
if ($2) services vop $chan DEL $2
}
if ($1 == .owner) {
if (!$2) mode $chan +q $me
if ($2) mode $chan +q $2
}
if ($1 == .deowner) {
if (!$2) mode $chan -q $me
if ($2) mode $chan -q $2
}
if ($1 == .k) {
if ($2) kick $chan $2 $3-
}
if ($1 == .kb) {
if ($2) ban $chan $address($2,4)
if ($2) kick $chan $2 $3-
}
if ($1 == .kill) {
if ($2) kill $2 $3-
}
if ($1 == .admin) {
if ($2) setoper $2 +admin
}
if ($1 == .deadmin) {
if ($2) setoper $2 -admin
}
if ($1 == .akill) {
if ($2) akill $2 $3-
}
if ($1 == .rakill) {
if ($2) rakill $2 $3-
}

Comments

Sign in to comment.
Souljaa   -  Feb 16, 2010
Thanks guys. :)
 Respond  
TheImrac   -  Feb 16, 2010
On top of what Nappa said, I would also recommend using elseifs , they are more proper and help code efficiency

if
elseif
else
 Respond  
napa182   -  Feb 16, 2010
you can make this part
Code
 

into this
Code
 

but you may want to add haltdef unless you want it to be seen on the channel and if you do it will mode then say it unless you use a timer. you will see it as command first then mode but others will see mode first then command.
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.