Skip to content
MSN

Deleting Denies Individually

A TG007 community discussion started by Aurora Is A Whale.

Discussion 3 posts
Page 1 of 1
Open
Topic #7155 · 3 published posts · 700 views

I run two scripts in a single chatroom to look out for my blindspot. Anyways. If one of those gets banned, I want the other to unban it right away. I thought perhaps it would be good through a socket. But this isn't the point. How do you delete individual denies without use of the dialog?

 

-Fevian

on *:start:{ 
set %kickname $$?="Enter the nickname of your target"
set %kickaddy $$?="Enter the GKP of your target"
}
on *:KICK:#:{ 
if ($knick = %kickname) access # delete deny $address(%kickaddy,1) | access # delete deny %kickname
}

Put it in remotes. It might work, it might not. It hasnt been tested and its just something off the top of my head.

Thanks, man. Sorry I haven't been able to reply. Net crashed, so...Yeah. I'll try it out when I get home.