This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 9 matches

by maphex
Wed Dec 23, 2015 8:24 pm
Forum: Scripting Help
Topic: Remove everything from last occurence
Replies: 4
Views: 6360

Will this remove "-" in addition to everything after it?
by maphex
Tue Dec 22, 2015 12:04 am
Forum: Scripting Help
Topic: Remove everything from last occurence
Replies: 4
Views: 6360

Remove everything from last occurence

Trying my hand at some regex. I'm trying to take a string and remove everything after the last occurrence of and symbol. I'm using regsub {\-.*} $text "" but it only works if there is only one occurrence of "-" but if text has more than one "-" it removing everything fr...
by maphex
Tue Dec 08, 2015 9:00 pm
Forum: Scripting Help
Topic: Scan Channel list
Replies: 7
Views: 8297

Worked great thanks SpiKe^^
by maphex
Tue Dec 08, 2015 6:50 pm
Forum: Scripting Help
Topic: Scan Channel list
Replies: 7
Views: 8297

Scan Channel list

I already have a script i'm working but part of the puzzle that i cant figure out how to do is i'm using bind cron to run the proc every so often but i want it to scan the channel list and save each user as a variable probable use a foreach and use the variable in the rest of the proc. If anyone can...
by maphex
Wed Nov 11, 2015 12:27 am
Forum: Script Requests
Topic: Sports Scoreboard
Replies: 2
Views: 5980

Sports Scoreboard

Looking fora script that can either auto announce or be triggered for sports sores like NFL NBA MLB etc. I have found a few around but none seem wot work. Maybe something that can read off the ESPN sites. Found these 2 scripts not sure if they can be modified to work or not https://github.com/leprec...
by maphex
Wed Dec 05, 2012 3:57 pm
Forum: Scripting Help
Topic: HELP! Regexp/Regsub
Replies: 4
Views: 3889

Thanks for all the help. I got it working with some modifications to the code to not use a pubm and used a regular bind pub and still used the split text that Nimos provided.

I decided against the regexp method because of overlapping binds using pubm unless there is something i missed to stop this
by maphex
Wed Dec 05, 2012 2:22 am
Forum: Scripting Help
Topic: HELP! Regexp/Regsub
Replies: 4
Views: 3889

Could you provide me with an example? I understand a little better when its laid out and can see how it works? Thanks for the fast response!
by maphex
Tue Dec 04, 2012 9:22 pm
Forum: Scripting Help
Topic: HELP! Regexp/Regsub
Replies: 4
Views: 3889

HELP! Regexp/Regsub

So what im trying to do here is make a trigger that is based on a SQL entry. So the first !(.*) will be the trigger. Then I want the next (.*) to be the search term(s). Everything works fine if the search term is one word but if the term is broken by a space like !searchchan search words here the sc...
by maphex
Fri Feb 10, 2012 5:09 pm
Forum: Script Requests
Topic: Monitor Directory
Replies: 1
Views: 2798

Monitor Directory

Basically I need a script to monitor a few different directories and files. Once a new file has been added to that directory i then want it to announce the file name to a desired channel. I figured this would be pretty simple only catch is that i dont want to trigger the script via channel trigger. ...