Eggheads: need some changes in script

Bas Verhoeven basverhoeven at wanadoo.nl
Mon Apr 21 05:25:30 CST 2003


I already replied for that one..

But here is it again:

You can just change the

bind pub T !target show_trgt

to

bind pub - !target show_trgt

You would have found out if you tried tho, not that hard..

----- Original Message -----
From: "Bane" <asarhad at sezampro.yu>
To: "'Eggdrop Discussion List'" <eggheads at eggheads.org>
Sent: Monday, April 21, 2003 1:20 PM
Subject: Eggheads: need some changes in script



i need to chane this so it will work as it is only that it doesn't requier T
flag for user. i need that everyone who joins channel can use public command
is it enough to remove T and put - or what?


part of code:
=================================================
bind pub T !target show_trgt
proc show_trgt {nick host hand chan text} {
  global target trgt_set trgt_user planet trgt_length
  if { ![string compare $trgt_set 1]} {
    putserv "NOTICE $nick :Target galaxy is $target(1), launch is scheduled
for $target(2)"
    if { $trgt_length < 1 } {
      putserv "NOTICE $nick :No planets have been reserved yet."
      } { putserv "NOTICE $nick :Currently reserved planets are: [lsort
-integer [array names planet]]"}
    } else { putserv "NOTICE $nick :No target is set." }
  }






More information about the Eggheads mailing list