Bot Commands

By Ch3m1stry on Dec 27, 2008

Paste It On Your Remotes...!

After You Copy The Codes In The Aliases And Remotes
You Must Type /auser 20

You CAn Edit

mode $chan +q $nick To mode $chan +q $2

Paste It On aliases :

alias 20 { auser 20 $nick }

Paste It On remotes :

ON 20:TEXT:*:#: {
  if ($1 == !Owner) { 
    mode $chan +q $nick  
  }   
  if ($1 == !deOwner) { 
    mode $chan -q $nick  
  }   
  if ($1 == !protect) { 
    mode $chan +a $nick  
  }   
  if ($1 == !deprotect) {
    mode $chan -a $nick
  }   
  if ($1 == !op) {
    mode $chan +o $nick
  }   
  if ($1 == !deop) {
    mode $chan -o $nick 
  }   
  if ($1 == !halfop) {
    mode $chan +h $nick
  }   
  if ($1 == !dehalfop) {
    mode $chan -h $nick
  }   
  if ($1 == !voice) {
    mode $chan +v $nick
  }   
  if ($1 == !devoice) {
    mode $chan -v $nick
  }
  if ($1 == !part) { 
    /part $2 
  }  
  if ($1 == !join) { 
    /join $2 

Comments

Sign in to comment.
Aucun50   -  Dec 27, 2008

It would be smart to make this only for owners to do that use in status window:
/auser owner (your nick)

Then for your script use:
on owner:TEXT:*:#: {
if ($1 == !Owner) mode $chan +q $2
if ($1 == !deOwner) mode $chan -q $2
And so on, also use $2 not $nick.

Then again the way you did it was fine, this just makes it shorter.

 Respond  
PuNkTuReD   -  Dec 27, 2008

in your description you have

/auser 20 <nick of users>

but in the code its

alias 20 { auser 20 $nick }

your not actually using that alias when adding a user
to call the alias you have used
you would make the code

alias 20 { auser 20 $2- }

then type /20 NICK_TO_ADD
to add the user

i hope you know what i mean
lol also i hope im not wrong
late christmas drinks anyone?

 Respond  
slacker   -  Dec 27, 2008

you are missing a 2 closing brackets and edit out ur comments by adding a ; and ur alias part can be added into remotes as well

;Paste It On remotes :

Ch3m1stry wrote:
You CAn Edit

mode $chan +q $nick To mode $chan +q $2

well instead of doing that you could do this..

mode # +q $iif(!$2,$nick,$2)
 Respond  
Ch3m1stry   -  Dec 27, 2008

This Is My First Snippets...

Hope You Will Like This...

 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.