Gwi Bot's Forums!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Input Script

5 posters

Go down

Input Script Empty Input Script

Post  Aile Mon Feb 08, 2010 9:49 pm

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.

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

Back to top Go down

Input Script Empty Re: Input Script

Post  Satan666 Mon Feb 08, 2010 9:53 pm

Looks nice Smile

Satan666
Admin

Posts : 62
Join date : 2010-02-03

Back to top Go down

Input Script Empty Re: Input Script

Post  `Bella` Wed Feb 10, 2010 7:32 pm

i stole it.

~Bella

`Bella`

Posts : 47
Join date : 2010-02-04
Age : 30
Location : UK

Back to top Go down

Input Script Empty Re: Input Script

Post  s1t1r1pure Wed Feb 10, 2010 11:46 pm

just looks liek random letter spam in a box Very Happy

s1t1r1pure

Posts : 20
Join date : 2010-02-04
Age : 30
Location : newcastle =D

Back to top Go down

Input Script Empty Shorter code

Post  Termz Wed Feb 17, 2010 4:32 am

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

Back to top Go down

Input Script Empty Re: Input Script

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum