on *:text:*:#mltag.KoD: {
if ($nick == newsbot) {
// Increments everytime newsbot sends a message to #mltag.KoD
inc %newsbot.antispam
// Checks if there have been at least 5 messages from newsbot
if (%newsbot.antispam >= 5) {
msg #KoDwar $+(7,$chr(40), 4,KoD News, 7,$chr(41), 7,$chr(40),,14,$nick,,7,$chr(41),:) $1-
// Resets the counter back to 0
set %newsbot.antispam 0
}
}
}
is what i put and it is in its own remote tab
Quite nice but it won't work universally, and for the people actually needing something to help add monsters to a text file it may cause problems more than it fixes.
for instance I have an RPG which also stores health, strength, agility on the same line, and the RPG itself uses defined lines for each level rather than multiple text files so any additions have to be changed in the script.
example:
rat 10 2 5
slime 20 1 1
######lvl2
bat 10 2 10
etc etc.
You may wish to add the name/link of the rpg itself so anyone wanting to use this will be able to find your rpg.... wait 12 levels, is that my old rpg?--> !fight evil
ifso I'd appreciate a link, if not I'd like to see it.
Can anyone tend to help me getting a code for mouse hover like pixlr ripple effect please?
I tried searching a lot but didn't find a good one. I need one of the same on http://pixlr.com/o-matic/ Thanks in advance.
I've tried to reset this several times and all it gives me is a word made of "sppp". May I suggest a word list file on the bot itself? I maintain a channel bot with different games and I would really like to have a reliable Scramble game. To be honest, I don't have the scripting skill yet to make the changes. I'm gonna take a look at it anyway but I thought maybe the script author would prefer to make the change first.
http://www.phoronix.com/scan.php?page=news_item&px=MTM0NzE -- Ah it seems that there finally is a light at the end of the tunnel! :) It would seem Nvidia has finally rolled out a driver package that should support its Optimus technology on Linux based systems. Time to try it out on Ubuntu 13.04.
That will scale terribly. Every lookup will require loading the entire file into memory in order to search it. Once the file gets too large PHP will fail to load it resulting in memory errors. Your method is guaranteed to fail in the long run.
I've never been able to implement SQLite with PHP,
Plus there's not many examples of ways to store data in a flat file solution, I'd probably make it so people can choose between SQL and Flat File. http://tmfksoft.x10.mx/phpcrazy/url_shortener/
Is the live development area. So you are free to mooch about looking what files there are.
Security issues from what I heard. Phurl doesn't natively support it. I can do it in JS/JQuery but I'm currently working on some other stuff in the meantime :P
It's day 1 (Kinda, Its 11:34pm, Does that still count)
Im about to start work on my first script of many.
This weeks script is going to be a very simple URL Shortener.
It will be using BootStrap and a flat file database to boot.
I'll release the Script on Saturday for download.
P.s.
SunnyD has mentioned using GitHub, I wont be using GitHub straight away, When all scripts are done they will be in one repo for download.
if you wont to search just by one word change those line
if (contents.indexOf(this.options.trigger) >= 0 && check_contents.match(regex)) ==>
if (contents.indexOf(this.options.trigger) >= 0 && check_contents.match(regex) && check_contents.indexOf(' ') <= 0)
If you wont to search non latinic word change this line:
var regex = new RegExp('\\B\\'+this.options.trigger+'([\\w\\-]+)'); =>> var regex = new RegExp('\\B\\'+this.options.trigger+'([\\S\\-]+)');
Yep, it's getting to be that time of year again. School's up for me in another week, so hopefully I'll have time to work on a few projects in between work shifts. As for script packages, you could upload them onto GitHub as well, that might get you some more traffic. Looking forward to seeing some PHP.