Requesting 2 Scripts

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

Requesting 2 Scripts

Postby eBiene » Fri Aug 22, 2008 3:28 pm

Hello to the Board.

In my first Thread i ask everybody to help me. My Channel is looking for 2 Scripts.
1. is a rules script where we can add some Text in a text File that will be posted by writing something like ?rules (maybe some spamcheck and the text as notice or Private)

2. is a, hmmm how to explain it, a script where we can add users and this will be printed in the chan as Helper or admins.
so what i mean is, somebody types !admins and he get a list of People (s)he can contact. maybe its possible to use a trigger system to add Admins, Helpers and so on.

Thanks to all of you for the view and maybe Help :D
Have a nice Day.
eBiene
 

Re: Requesting 2 Scripts

Postby eBiene » Sat Aug 23, 2008 2:11 am

Uppss. I see that there is already a request of a rules script like i am looking for it.
But anyway. maybe u can help me at all


As i saw [edit]Sumsar[/edit] writing the rules script, i would like to ask u if u could insert a spamcheck? (see above)
ahh.before i get the same answer, why i dont take a look around this answer must be:" I did" - But all not that what i am looking for. So i asked here for it

Code: Select all
namespace eval rules {
   namespace eval variable {

      variable trigger ".rules"
      variable channel "#channel"
      variable filename "scripts/rules.txt"
      variable method "privmsg"
   }
   bind PUBM - "$::rules::variable::channel $::rules::variable::trigger*" [namespace current]::public
   proc public {nickname hostname handle channel arg} {
      set file [open $::rules::variable::filename r]
      while {![eof $file]} {
         switch $::rules::variable::method {
            privmsg {
               putmsg $nickname [gets $file]
            }
            notice {
               putnotc $nickname [gets $file]   
            }
         }
      }
      close $file
   }
}
eBiene
 

Re: Requesting 2 Scripts

Postby Cristian » Sun Sep 28, 2008 12:46 am

Is this what you are looking for? http://www.sp00fed.dk/viewtopic.php?f=13&t=191#p625
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: Requesting 2 Scripts

Postby Lukemob » Mon Dec 01, 2008 1:34 pm

First browse the forum, then ask :-)
Lukemob
 


Return to TCL Scripting Request

Who is online

Users browsing this forum: No registered users and 0 guests