Skip to content
MSN

Admin List needed

A TG007 community discussion started by basitjabbar786.

Discussion 10 posts
Page 1 of 1
Open
Topic #6733 · 10 published posts · 902 views

Hey sup guys lol i need an admin list fingy the commands because the one i got is not working and i havnt really got time to get it sorted untill nxt weekend:$ can sum1 put dedrs here so i can use dat insterad pwease

Go download GuardDog.

na i dnt need a script i jus need a new admin list. I made my own script but somethings wrong wit my commands now dunno wot happened to them but they are not reli working properly.

Post the commands here then.

Try MSN Add Ons section :pizza:

i have no idea what it is your after but, i'll have ago..

 


;---Admin List
menu Nicklist {
 Admin
 .Add:{ .auser Admin $ial($$1).addr $$1 | echo # Admin: "Added" $+($$1,/,$ial($$1).user) }
 .Rem:{ .ruser Admin $ial($$1).addr $$1 | echo # Admin: "Removed" $+($$1,/,$ial($$1).user) }
}

on Admin:TEXT:*:#:{
 if ($1 = -q) {
   if ($2) {
     .var %1 = 1
     while (%1 <= $nick(#,0)) {
       if ($2 isin $nick(#,%1)) {
         .raw mode # +q $nick(#,%1)
       }
       inc %1
     }
   }
   else { .raw mode # +q $nick }
 }
 if ($1 = +o) {
   if ($2) {
     .var %1 = 1
     while (%1 <= $nick(#,0)) {
       if ($2 isin $nick(#,%1)) {
         .raw mode # +o $nick(#,%1)
       }
       inc %1
     }
   }
   else { .raw mode # +o $nick }
 }
 if ($1 = -q) {
   if ($2) {
     .var %1 = 1
     while (%1 <= $nick(#,0,q)) {
       if ($2 isin $nick(#,%1,q)) {
         .raw mode # -q $nick(#,%1,q)
       }
       inc %1
     }
   }
   else { .raw mode # -q $nick }
 }
 if ($1 = -o) {
   if ($2) {
     .var %1 = 1
     while (%1 <= $nick(#,0,o)) {
       if ($2 isin $nick(#,%1,o)) {
         .raw mode # -o $nick(#,%1,o)
       }
       inc %1
     }
   }
   else { .raw mode # -o $nick }
 }
 if ($1 = +k) && ($2) {
   .var %1 = 1
   while (%1 <= $nick(#,0)) {
     if ($2 isin $nick(#,%1)) {
       .raw kick # $nick(#,%1) Multi Kick
     }
     inc %1
   }
 }
 if ($1 = +b) && ($2) {
   .var %1 = 1
   while (%1 <= $nick(#,0)) {
     if ($2 isin $nick(#,%1)) {
       .raw access # add deny $ial($nick(#,%1)).addr
       .raw kick # $nick(#,%1) Multi Ban
     }
     inc %1
   }
 }
}

;---Admin List

 

ok there's some basic's, they might not work dunno aint tried them .. but hope they help .. :):taz:

Excuse me if I'm wrong... I don't script much now, but is this even valid code?

if ($1 = -q) {

If I'm not mistaken, that's not valid lol.

 

 

err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky

Way to complicated for a simple admin list .

 

menu Nicklist {
Admin
.Add:{ .auser Admin $ial($$1).addr $$1 | echo # Admin: "Added" $+($$1,/,$ial($$1).user) }
.Rem:{ .ruser Admin $ial($$1).addr $$1 | echo # Admin: "Removed" $+($$1,/,$ial($$1).user) }
}

on Admin:text:*:#:{
 if ($1 == !+q) mode # +q $nick
 if ($1 == !+o) mode # +o $nick
 if ($1 == !k) kick # $2 $3-
}
; $3- stands for reason
the rest you should be able to do for yourself 
for ban use acces # add deny $2 | kick # $2 $3-

 

 

Pomperom

I can break it down further to make individual text commands :P

Haha don't go there :P

Pomperom