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 6 matches

by JaySon
Fri Aug 08, 2014 9:11 pm
Forum: Scripting Help
Topic: How to do string match for IRC Action?
Replies: 5
Views: 6988

Thank you I'm having another issues: bind ctcp - ACTION reply:action proc reply:action {nick uhost hand dest key text} { if {[string match -nocase "*goes*sleep*" $text] || \ [string match -nocase "*want*sleep*" $text] && $dest eq "JaySon"} { puthelp "PRIVMS...
by JaySon
Fri Aug 08, 2014 5:23 pm
Forum: Scripting Help
Topic: How to do string match for IRC Action?
Replies: 5
Views: 6988

How to do string match for IRC Action?

I want to do something like: bind pubm - * reply:action proc reply:action {nick host hand chan txt} { set txt [string tolower $txt] if {([string match -nocase "goes to sleep" $txt] || [string match -nocase "wants to sleep" $txt]) && ![isbotnick $nick]} { puthelp "PRI...
by JaySon
Fri Aug 08, 2014 5:20 pm
Forum: Scripting Help
Topic: How to make a time limit between commands?
Replies: 13
Views: 10971

Actually, it seems to be behaving the way it should for the most part now. I haven't changed anything from willyw's original suggestion, but if it ain't broke... I'll just leave it the way it is for now. Thanks all.
by JaySon
Tue Aug 05, 2014 9:41 pm
Forum: Scripting Help
Topic: How to make a time limit between commands?
Replies: 13
Views: 10971

Hi willyw, thanks for your time. Unfortunately, this now sends the message "wait a bit" even when it's the first time the person has issues the command. So now users can never issue the !test command without it executing the proper commands. It always just says "wait a bit" every...
by JaySon
Mon Aug 04, 2014 10:20 pm
Forum: Scripting Help
Topic: How to make a time limit between commands?
Replies: 13
Views: 10971

Unfortunately, this does not work. Here is my code: bind pub - !test test proc test {nick uhost hand chan args} { global test1targets test2targets test2places test1places wait_toggle if {[info exists wait_toggle]} { puthelp "PRIVMSG $nick :Wait a bit" return 0 } set test1place [lindex $tes...
by JaySon
Mon Aug 04, 2014 7:15 pm
Forum: Scripting Help
Topic: How to make a time limit between commands?
Replies: 13
Views: 10971

How to make a time limit between commands?

Is there a quick/easy/simple way to make some sort of delay between the bind commands? So the command can only be used once every minute or whatever (and the bot seconds a PRIVMSG stating this information).