egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

who can make this script for me

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
whiteshark
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: netherlands

PostPosted: Tue Sep 13, 2005 3:01 pm    Post subject: who can make this script for me Reply with quote

when i typ !pcw 5on5 have server skill high
then relay the bot this
[ pcw 5on5 etc etc etc ] [ time ] [ /msg $nick ] in every channel where the bot is

thanks
Back to top
View user's profile Send private message Visit poster's website
Dizzle
Op


Joined: 28 Apr 2005
Posts: 109

PostPosted: Tue Sep 13, 2005 3:24 pm    Post subject: Reply with quote

Thats a pretty easy script, found will i was googling TRY IT Razz

Code:

set available(maps) {
   "de_dust" "de_dust2" "de_aztec" "de_nuke" "de_inferno"
   "de_cbble" "de_cpl_mill" "de_cpl_fire" "de_any" "de_?"
   "de_only" "de_prodigy" "de_train" "de_storm"
   "de_piranesi" de_cpl_strike"
}

set available(serverstatus) {
   "on" "off" "serveron" "serveroff" "yes" "no"
}

set except(channels) {
   ""
}

set available(skill) {
   "low" "low/med" "med"  "med/high" "high"
}

bind PUB -|- "!pcw" create:newgame
proc create:newgame { nickname hostname handle channel arguments } {
   global lastbind available except
   set arguments [split $arguments " "]
   set team        [lindex $arguments 0]
   set map         [string tolower [lindex $arguments 1]]
   set server      [string tolower [lindex $arguments 2]]
   set skill       [string tolower [lindex $arguments 3]]
   set information [join [lrange $arguments 4 end]]
   if {[llength $information] == "0"} {
      set information n/a
   }
   if {[llength $arguments] < 3} {
      putserv "NOTICE $nickname :Wrong Syntax, please use: $lastbind  \037team\037 \037map\037 \037server status\037 \037Skill\037 \037information?\037"
   } elseif {[lsearch [string tolower $available(maps)] $map] == "-1"} {
      putserv "NOTICE $nickname :Unkwown Counterstrike Map, Plz use one of the maps in the list"
      putserv "NOTICE $nickname :[join [string tolower $available(maps)] ", "]"
   } elseif {[lsearch [string tolower $available(serverstatus)] $server] == "-1"} {
      putserv "NOTICE $nickname :Invalid server status specified, use: [join $available(serverstatus) ", "]"
   } elseif {[lsearch [string tolower $available(skill)] $skill] == "-1"} {
      putserv "NOTICE $nickname : Unkwown Skills : try these [join $available(skill) ", "]"
   } else {
      set nopost ""
      set post   ""
      foreach post-channel [channels] {
         if {[lsearch [string tolower $except(channels)] [string tolower ${post-channel}]] == "-1"} {
            lappend post ${post-channel}
         } else {
            lappend nopost ${post-channel}
         }
      }
      if {[llength $nopost] == "0"} {
         set nopost n/a
      }
      putserv "NOTICE $nickname :Done. Message was relayed succesfully, have a nice day"
      putquick "PRIVMSG [join $post ","] PCW !! Team : $team Map : $map $server : Skill : $skill : Extra info : $information :.: /q $nickname"
   }
}
putlog "PCW Script Loaded"


i recall this script was already made by someone, i found it in this status, i know there is a author. Butt the author wasnt written in the script
_________________
What's this real life ppl keep talking about ??? And where can I download it ???
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
whiteshark
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: netherlands

PostPosted: Tue Sep 13, 2005 3:36 pm    Post subject: Reply with quote

Thnx Very Happy Very Happy
Back to top
View user's profile Send private message Visit poster's website
whiteshark
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: netherlands

PostPosted: Tue Sep 13, 2005 5:10 pm    Post subject: Reply with quote

when i typ this !pcw 4on4 de_nuke serveron high TESTTEST
the bot answer this ^Triv-Security^ 4on4 Map : de_nuke serveron : Skill : high : Extra info : TESTTEST :.: /q Amstelbier
thats work good.
But he must show de channel to like this ^Triv-Security^ 4on4 Map : de_nuke serveron : Skill : high : Extra info : TESTTEST :.: /q Amstelbier #trivia.nl
can somebody fix it thnx
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Sep 13, 2005 6:53 pm    Post subject: Reply with quote

Replace
Code:
putquick "PRIVMSG [join $post ","] PCW !! Team : $team Map : $map $server : Skill : $skill : Extra info : $information :.: /q $nickname"

with
Code:
putquick "PRIVMSG [join $post ","] PCW !! Team : $team Map : $map $server : Skill : $skill : Extra info : $information :.: /q $nickname $channel"

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
whiteshark
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: netherlands

PostPosted: Thu Sep 15, 2005 1:52 pm    Post subject: Reply with quote

thnx its work Razz
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber