Eggheads: need some changes in script

John Liss john at lissproductions.com
Mon Apr 21 09:29:49 CST 2003


wow. is this like tradewars for eggdrops?  heheh anyone else remember 
that bbs game from like 80 something...

-----Original Message-----
From: "Bas Verhoeven" <basverhoeven at wanadoo.nl>
To: "Eggdrop Discussion List" <eggheads at eggheads.org>
Date: Mon, 21 Apr 2003 13:25:30 +0200
Subject: Re: Eggheads: need some changes in script

> 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