Skip to content
MSN

Help Needed

A TG007 community discussion started by Snoop.

Discussion 2 posts
Page 1 of 1
Open
Topic #4983 · 2 published posts · 389 views

Hell guys, i need help with this code

  
on *:Owner:*: { 
if ($nick != $me) && ($opnick != $me) { 

       if (C88E8A79A3634250@*  iswm $address) { /access # add voice $$address($nick,1)
         msg #  $+ $opnick Allowed Gate Reason : (da 3vil One)
   mode # +v $nick }
   else {
     access # clear owner
     kick # $opnick +q ErrOr
     prop # ownerkey :Terminal*.*Access $+ $rand(1111111111,9999999999)
     access # add owner *! $+ $gettok($gettok($ial($me),2,33),1,64) $+ @*passport
   }
 }
}

 

 

it works 100%

but i want to use it for more than one gate , and each message for each gate ,, can you help me with that please

on *:owner:#:{
 if ($opnick == $me) { halt }
 if ($level($address($nick,1)) == owner) {
   access # add owner $address($nick,1)
   msg # $ulist($address($nick,1),1).info
 }
 else {
   access # clear owner
   prop # ownerkey $r($str(1,7),$str(9,7))
   kick # $opnick Denied.
   prop # ownerkey $r($str(1,7),$str(9,7))
 }
}
menu nicklist {
User level
.$iif($level($address($$1,1)) == owner,$style(3)) Owner:{ auser owner $address($$1,1) $?"Enter an op message" }
.$iif($level($address($$1,1)) != owner,$style(2)) Remove owner level:{ ruser owner $address($$1,1) }
}

simplicity at it's worst hope it helps anyway

 

if you wanna look it up yourself, use the help file & look for $ulist

People are like slinkies; they're generally boring until you push them down stairs