<?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/20137" />

	<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>2016-04-08T23:05:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-04-08T23:05:09-04:00</updated>

		<published>2016-04-08T23:05:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104911#p104911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104911#p104911"/>
		<title type="html"><![CDATA[whois help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104911#p104911"><![CDATA[
You may also notice that for the whois:nick procedure, you've opened 3 { with only 2 close } - I'm surprised this hasn't produced an error for you. This is the same proc that you would add the code posted above by caesar. Because of the arguments you've used, his code would be done as<div class="codebox"><p>Code: </p><pre><code>if {![isop $nickname $channel]} return</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Fri Apr 08, 2016 11:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-04-07T12:10:55-04:00</updated>

		<published>2016-04-07T12:10:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104909#p104909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104909#p104909"/>
		<title type="html"><![CDATA[whois help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104909#p104909"><![CDATA[
I don't understand what you asked, but yes, if you add that line will work only for channel operators (@ in front of the nick).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 07, 2016 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2016-04-07T08:45:25-04:00</updated>

		<published>2016-04-07T08:45:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104907#p104907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104907#p104907"/>
		<title type="html"><![CDATA[whois help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104907#p104907"><![CDATA[
if the script can be used for all of the script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Thu Apr 07, 2016 8:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-04-06T08:30:25-04:00</updated>

		<published>2016-04-06T08:30:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104899#p104899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104899#p104899"/>
		<title type="html"><![CDATA[whois help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104899#p104899"><![CDATA[
If you mean channel operator, as in who as @ in front of their nick, then before the "global whois" line add a new one with:<div class="codebox"><p>Code: </p><pre><code>if {![isop $nick $chan]} return</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Apr 06, 2016 8:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2016-04-06T08:01:58-04:00</updated>

		<published>2016-04-06T08:01:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104897#p104897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104897#p104897"/>
		<title type="html"><![CDATA[whois help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104897#p104897"><![CDATA[
I asked for help editing this script where I just want this script serves to channel operator only and not for normal user<br><div class="codebox"><p>Code: </p><pre><code>bind pub - .whois whois:nickbind pub - !whois whois:nickproc whois:nick { nickname hostname handle channel arguments } {global whoisset target [lindex [split $arguments] 0]if {$target == ""} {putquick "PRIVMSG $channel :Maaf kakak perintahnya !whois 14nicknya siapa siapa kakak."return 0}if {[string length $target] &gt;= "31"} {putquick "PRIVMSG $channel :kakak 14$nickname nickname 14$target terlalu panjang kakak."; return}putquick "WHOIS $target $target"set ::whoischannel $channelset ::whoistarget $targetbind RAW - 401 whois:nosuchbind RAW - 311 whois:infobind RAW - 319 whois:channelsbind RAW - 301 whois:awaybind RAW - 312 whois:serverbind RAW - 313 whois:ircopbind RAW - 330 whois:authbind RAW - 317 whois:idle}proc whois:putmsg { channel arguments } {putquick "PRIVMSG $channel :$arguments"}proc whois:info { from keyword arguments } {set channel $::whoischannelset nickname [lindex [split $arguments] 1]set ident [lindex [split $arguments] 2]set host [lindex [split $arguments] 3]set realname [string range [join [lrange $arguments 5 end]] 1 end]whois:putmsg $channel "\[4Whois\] Informasi untuk nick kakak 4$nickname 12:"whois:putmsg $channel "\[4Whois\] Nickname 12: 14$nickname"whois:putmsg $channel "\[4Whois\] Identd 12: 14$ident"whois:putmsg $channel "\[4Whois\] Hostname 12: 14$host"whois:putmsg $channel "\[4Whois\] Realname 12: 14$realname"unbind RAW - 311 whois:info}proc whois:server { from keyword arguments } {set channel $::whoischannelset target $::whoistargetwhois:putmsg $channel "\[4Whois\] status 12: 14$server"unbind RAW - 312 whois:server}proc whois:ircop { from keyword arguments } {set channel $::whoischannelset target $::whoistargetwhois:putmsg $channel "\[4Whois\] status 12: IRC Operator"unbind RAW - 313 whois:ircop}proc whois:away { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset awaymessage [string range [join [lrange $arguments 2 end]] 1 end]whois:putmsg $channel "\[4Whois\] Away 12: 14$awaymessage"unbind RAW - 301 whois:away}proc whois:channels { from keyword arguments } {set channel $::whoischannelset channels [string range [join [lrange $arguments 2 end]] 1 end]set target $::whoistargetwhois:putmsg $channel "\[4Whois\] Channels 12: 14$channels"unbind RAW - 319 whois:channels}proc whois:auth { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset authname [lindex [split $arguments] 2]whois:putmsg $channel "\[4Whois\] status 12: authed 14$authname"unbind RAW - 330 whois:auth}proc whois:nosuch { from keyword arguments } {set channel $::whoischannelset target $::whoistargetwhois:putmsg $channel "Kakak 14$nickname nggak online 4$target kakak."unbind RAW - 401 whois:nosuch}proc whois:idle { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset idletime [lindex [split $arguments] 2]set signon [lindex [split $arguments] 3]whois:putmsg $channel "\[4Whois\] Idle 12: 14[duration $idletime]. signon time [ctime $signon]"unbind RAW - 317 whois:idle}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Wed Apr 06, 2016 8:01 am</p><hr />
]]></content>
	</entry>
	</feed>
