Skip to content
MSN

Need code

A TG007 community discussion started by E_UK.

Discussion 3 posts
Page 1 of 1
Open
Topic #4442 · 3 published posts · 516 views

Hey guys,

 

i need someone to write code plz

 

i have 2 scripts in my chat room and i dont want my frind to host someone and i dont want to de-host him myself i want my script to do so when he hosts that person.

 

Plz could u plz write this code 4 me

Edited Aug 6, 2005 10:47 AM by E_UK

so if you friend hosts someone, your script will dehost the person he hosted, and dehost your friend too, but your script does it?

on *:OP:#:{
 if $nick isowner $chan return
 if $nick isadmin $chan return
 if ($opnick !== $nick) && ($me !isop #) {
   mode $me +h %hostpass 
   mode # -o $opnick 
   mode $active -o $me 
 }
 if ($opnick !== $nick) && ($me isop #) {
   mode # -o $opnick 
   /privmsg # Safe Host  
  }
}

 

 

You can add kick and deny as well to it