Top

IRCop /sahop command.


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  6.0
Scores Submitted  2
Date Added  Jan 19, 2008
Last Updated  Jan 19, 2008
Tags  alias  aliases  hop  irc  ircop  mirc  op  oper  operator  sa  sahop  script 

Introduction

Just a command to make it easier to make users part and rejoin channels, like when you do /hop yourself.

Command: /sahop
Version: 1.1
Author: XTZGZoReX

Usage: /sahop <user> <channel>
Notes: For IRC operators only.

Enjoy!

Grab the Code

Comments

  (4)  RSS
ALCAPONE
Comments: 12
 
mIRC Snippet:  IRCop /sahop command.
Posted on Feb 23, 2008 5:44 pm
works great good job
napa182
Comments: 996
 
mIRC Snippet:  IRCop /sahop command.
Posted on Feb 23, 2008 8:57 pm
Um why would you want to make other users hop the room for? When they can just hop them selves. eh.. but the code works so good job.
Korvin
Comments: 238
 
mIRC Snippet:  IRCop /sahop command.
Posted on Feb 24, 2008 12:51 am
there is no reason for the !$1, because if there isnt a $2, there obviously isnt a $1

Code:

alias sahop {
  if ( !$2 ) {
    echo -a * /sahop: insufficient parameters
    halt
  }
  sapart $1 $2
  .timer 1 1 sajoin $1 $2
}
napa182
Comments: 996
 
mIRC Snippet:  IRCop /sahop command.
Posted on Feb 24, 2008 4:01 am
why even use a timer if it\'s a hop and no need for a halt.
Code:
alias sahop {
  if (!$2) {
    echo -a * /sahop: insufficient parameters
  }
  else { sapart $1 $2 | sajoin $1 $2 }
}


Please Register or Login to start posting comments.
Bottom