Eggheads: need some changes in script

Bas Verhoeven basverhoeven at wanadoo.nl
Mon Apr 14 08:03:59 CST 2003


You can just change the

bind pub T !target show_trgt

to

bind pub - !target show_trgt

----- Original Message -----
From: "Bane" <asarhad at sezampro.yu>
To: "'Eggdrop Discussion List'" <eggheads at eggheads.org>
Sent: Friday, April 11, 2003 2:18 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