<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8845" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-12-21T23:37:28-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8845</id>

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-21T23:37:28-04:00</updated>

		<published>2004-12-21T23:37:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44352#p44352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44352#p44352"/>
		<title type="html"><![CDATA[+O Channel Away Script (HELP NEEDED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44352#p44352"><![CDATA[
First, you can bind to a pub trigger !away. Then make the bot check if it is on #staff by checking [channels], then do [getchanmode $chan] and check if "O" (same case) is in the channel set mode and check if [string equal -nocase "#staff" $chan] for the trigger. Then use a foreach loop for [channels] and using pushmode make it deop/devoice itself on all channels, using /samode for devoicing especially or whatever. <br><br>Alternatively you can first make it check if it is opped/voiced on any channel before deoping/voicing it as well so it doesn't uselessly deop/voice itself as modes can be removed even if they are not placed.<br><br>Similarly for !back you can use this vice versa, you just need to change the trigger name and the "+" to a "-" sign for deop and devoice.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Dec 21, 2004 11:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ozaki]]></name></author>
		<updated>2004-12-21T13:59:54-04:00</updated>

		<published>2004-12-21T13:59:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44317#p44317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44317#p44317"/>
		<title type="html"><![CDATA[+O Channel Away Script (HELP NEEDED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44317#p44317"><![CDATA[
Hey,<br><br>ive always used mIRC scripting and don't know how to TCL script for an EGGDROP... i want to make an away script that works for IRCops if the user is in a +O(IRCops Only) channel called #staff and they type !away they will be automatically DEOP'd VOICED in the channels below and when they type !back they are OP'd DEVOICED in these channels... <br><br>the channels are... #rp #emma-watson.net #fun #help #bots #trivia #hctrivia and #housecup <br><br>can anyone help me?<br><br>Ozaki<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5823">Ozaki</a> — Tue Dec 21, 2004 1:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
