Top

op voice commands


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Sep 05, 2007
Last Updated  Sep 18, 2007
Tags  commands 

Introduction

Hey this is my first script and thats how u use it

1)+o <--used for getting op from your bot
2)-o <--Used for deop you
3)+v <--> 1)
4)-v <--> 2)

u gotto paste it in to your remote and just check it and it'll work :)

Grab the Code

on *:text:*+o*:#: {
  if $1 == %c $+ +o {
    if $2 == $null { /mode $chan +o $nick | halt }
    else { mode $chan +o $2 | halt }
  }
}
 
on *:text:*-o*:#: {
  if $1 == %c $+ -o {
    if $2 == $null { /mode $chan -o $nick | halt }
    else { mode $chan -o $2 | halt }
  }
}
 
on *:text:*+v*:#: {
  if $1 == %c $+ +v {
    if $2 == $null { /mode $chan +v $nick | halt }
    else { mode $chan +v $2 | halt }
  }
}
 
on *:text:*-v*:#: {
  if $1 == %c $+ -v {
    if $2 == $null { /mode $chan -v $nick | halt }
    else { mode $chan -v $2 | halt }
  }
}
 

Comments

  (13)  RSS
napa182
Comments: 1,455
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 6:20 pm
you dont need to use the / and whats %c?? and you have the +o -o and +v -v as wildcards
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 6:21 pm
i was also wondering what %c is
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 6:32 pm
you can put em all together by doint this

Code:

on *:text:*:#:{
  if (($left($1,2) == v) || ($left($1,2) == o)) && ($len($1) == 2) {
    if ($2 == $null) {
      mode $chan $left($1,1-2) $nick
    }
    else mode $chan $left($1,1) $+ $left($1,2) $2
  }
}
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:06 pm
sorry make that

Code:

on *:text:*:#:{
  if ($1 == - || $1 == +) && ($mid($1,2,1) isin $nickmode) && (!$3) {
    if (!$2) {
      mode $chan $left($1,2) $nick
    }
    else mode $chan $left($1,2) $2
  }
}
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:07 pm
lets you do -anyletter or +anyletter as long as the server supports it as a nick mode
M[n]M
Comments: 98
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:09 pm
right ..
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:29 pm
omg i keep screwin up

Code:

on *:text:*:#:{
  if ($1 == - || $1 == +) && ($mid($1,2,1) isin $nickmode) && (!$3) {
    if (!$2) {
      mode $chan $1 $nick
    }
    else mode $chan $1-
  }
}
M[n]M
Comments: 98
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:35 pm
lol ok dude :)
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:40 pm
btw if you dont supply a $2 it does it to you
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 5, 2007 7:48 pm
umm...click edit and change language to mirc, not .net :P
SilentExile
Comments: 19
 
mIRC Snippet:  op voice commands
Posted on Sep 19, 2007 5:34 pm
anyone can op/voice another person, you should include an if ($nick = %owner) and have a variable set to %owner so that only you can use the commands. what is %c for? if it has no use in this snippet you should remove it ;)
mountaindew
Comments: 1,826
 
mIRC Snippet:  op voice commands
Posted on Sep 26, 2007 9:00 pm
Code:

$iif($nick isop $chan,mode $chan +o $$2,msg $chan You arent op)
M[n]M
Comments: 98
 
mIRC Snippet:  op voice commands
Posted on Apr 14, 2008 7:04 pm
btw %c is $chan

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom