Go Back   FlashFXP Forums > > > >

St0rm's scripts StormDICE, StormAPPROVE, StormSEARCH, StormRW, StormNEW, StormZS, StormRULES, StormNFO, StormACTIVITY

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2004, 05:43 PM   #1
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default StormRULES - !rules <section> script

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 )
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-
St0rm is offline   Reply With Quote
Old 02-11-2004, 05:49 PM   #2
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default Re: StormRULES - !rules <section> script

Quote:
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
hot_pit is offline   Reply With Quote
Old 02-11-2004, 05:52 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

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
wooolF[RM] is offline   Reply With Quote
Old 02-11-2004, 05:55 PM   #4
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I will add it when i find the time (not now, prolly somewhere tomorrow).

Storm-
St0rm is offline   Reply With Quote
Old 02-11-2004, 08:35 PM   #5
stLancer_2
Member
 
Join Date: Aug 2003
Posts: 58
Default

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".

Code:
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 
}
stLancer_2 is offline   Reply With Quote
Old 02-12-2004, 04:29 PM   #6
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

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
St0rm is offline   Reply With Quote
Old 02-12-2004, 05:09 PM   #7
JoeBAR
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 42
Default

Excellent!
JoeBAR is offline   Reply With Quote
Old 02-12-2004, 05:25 PM   #8
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

teh sex!
wooolF[RM] is offline   Reply With Quote
Old 02-13-2004, 07:37 AM   #9
apusnaias
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 21
Default

thx a lot 4 this very useful script !!

apusnaias is offline   Reply With Quote
Old 03-29-2004, 07:34 AM   #10
Mave_2
Member
 
Join Date: May 2003
Posts: 33
Smile announce in main channel

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
Mave_2 is offline   Reply With Quote
Old 05-22-2004, 07:02 PM   #11
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

second that, but maybe not only on chan but option to put it on pm or on chan

thx
zpr is offline   Reply With Quote
Old 05-23-2004, 10:54 AM   #12
St0rm
Disabled
 
Join Date: Nov 2003
Posts: 105
Default

I'll add it when I find some time.
St0rm is offline   Reply With Quote
Old 09-23-2005, 02:45 AM   #13
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

St0rm, any update on chan/pm output option ?

regards
zpr is offline   Reply With Quote
Old 09-23-2005, 09:15 AM   #14
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

St0rm wont answer hes not around anymore

http://www.inicom.net/forum/showthread.php?t=14287
EwarWoo is offline   Reply With Quote
Reply

Tags
download, ftp, rules, script, site

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 10:36 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)