View Full Version : StormRULES - !rules <section> script
St0rm
02-11-2004, 05:43 PM
Hi, this is an advanced !rules/site rules script for your windrop/ioftpd. It supports these commands:
IRC:
!rules <section>
!getrules <section>
FTP:
site rules
site rules all (= site rules :cool: )
site rules <section1> <section2> <sectionN>
Installation instructions are inside.
Latest version: V1.1
Changelog:
+ Added ftp support ('site rules, 'site rules <section1> <section2> <sectionN>').
+ Added '!getrules' to receive the entire file by dcc send from the bot.
+ changed 'putserv' into 'puthelp'
Note: If your rulesfile is called 'rules', your section files should be called divx.rules, svcd.rules, etc.
Edit: Download this script at http://www.ioftpd.com/scripts/
Enjoy,
Storm-
hot_pit
02-11-2004, 05:49 PM
Originally posted by St0rm
Hi, this is a basic !rules script for your windrop. It also supports !rules <section>, like for example: !rules divx.
Installation instructions are inside.
Note: If your rulesfile is called 'rules', your section files should be called divx.rules, svcd.rules, etc.
Enjoy,
Storm-
ideas thief :P
good one storm . thnx
wooolF[RM]
02-11-2004, 05:52 PM
not that I need this script but I think it would be a great addition if u could make swith (0/1) to send rules:
1) in pm
2) as file
Some sites got pretty big rules (even for each section) so sending rules for that section prolly is a good idea (wont lag bot much, specially if some users do it at once plus there are 2-3 races goin' on).
Just my 2 cents :) Otherwise nice one, I'ld use it if I havent fixed my own allready ;)
St0rm
02-11-2004, 05:55 PM
I will add it when i find the time (not now, prolly somewhere tomorrow).
Storm-
stLancer_2
02-11-2004, 08:35 PM
a very nice script, but i takes some time to display rules if someone request it and the bot will not respone to other command.so i suggest you to use "puthelp" instand of "putserv".
proc readFile {sFilename sNick sChan} {
global rules_path
set sFile "$rules_path$sFilename"
set fs [open $sFile r]
while {![eof $fs]} {
gets $fs line
puthelp "PRIVMSG $sNick :$line"
}
close $fs
}
:D
St0rm
02-12-2004, 04:29 PM
New version out!
Changelog:
+ Added ftp support ('site rules, 'site rules <section1> <section2> <sectionN>').
+ Added '!getrules' to receive the entire file by dcc send from the bot.
+ changed 'putserv' into 'puthelp'
Reget at first post.
Enjoy,
Storm
JoeBAR
02-12-2004, 05:09 PM
Excellent!
wooolF[RM]
02-12-2004, 05:25 PM
teh sex! :D
apusnaias
02-13-2004, 07:37 AM
thx a lot 4 this very useful script !!
:)
Mave_2
03-29-2004, 07:34 AM
Is there a possibility that it announces only in Main channel the rules sections option?
So not in Pm or dcc but that people see it right away in main channel?
thx
Btw maybe i overlooked something
second that, but maybe not only on chan but option to put it on pm or on chan
thx
St0rm
05-23-2004, 10:54 AM
I'll add it when I find some time.
St0rm, any update on chan/pm output option ?
regards
EwarWoo
09-23-2005, 09:15 AM
St0rm wont answer hes not around anymore :(
http://www.inicom.net/forum/showthread.php?t=14287
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.