Input Script
5 posters
Page 1 of 1
Input Script
Here's one of my Input scripts that some might find handy -
How to use: +m -m +v -v .i
+m and -m is obvious, the +v -v is Mass devoice and mass, the .i is a mass invite from the channel you use it on, to the channel you put into the script.
How to use: +m -m +v -v .i
+m and -m is obvious, the +v -v is Mass devoice and mass, the .i is a mass invite from the channel you use it on, to the channel you put into the script.
- Code:
on *:input:#:{
if ($1 == +m) {
mode # +m
}
if ($1 == -m) {
mode # -m
}
if ($1 == .i) {
var %a 1
while ($nick(#,%a)) {
invite $v1 #YourChannelName
inc %a
}
}
if ($1 == +v) {
var %a 1
while ($nick(#,%a,r)) {
var %b %b $v1
if ($numtok(%b,32) == $modespl) {
mode # $+(+,$str(v,$v2)) %b
var %b
}
inc %a
}
mode # $+(+,$str(v,$numtok(%b,32))) %b
}
if ($1 == -v) {
var %a 1
while ($nick(#,%a,v)) {
var %b $addtok(%b,$v1,32)
if ($numtok(%b,32) == $modespl) {
mode # $+(-,$str(v,$v2)) %b
var %b
}
inc %a
}
mode # $+(-,$str(v,$numtok(%b,32))) %b
}
}
Aile- Posts : 1
Join date : 2010-02-08
Re: Input Script
just looks liek random letter spam in a box
s1t1r1pure- Posts : 20
Join date : 2010-02-04
Age : 30
Location : newcastle =D
Shorter code
Seriously aile? I thought you were atleast decent.
- Code:
on *:input:#: {
if (/ != $left($1,1)) {
if ( + == $left($1,1)) || (- == $left($1,1)) {
if ($regex($1,b|e/si)) && ( $2 ison $chan ) {
mode $chan $replace($1-,$2, $iif($address($2,3),$v1,$sha($2)))
}
else mode $chan $1 $replace($iif($2-,$v1,$str($me $+ $chr(32),9)),$ $+ me,$me)
}
}
Termz- Posts : 11
Join date : 2010-02-17
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|