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 paull
Fri May 29, 2009 1:26 pm
Forum: Scripting Help
Topic: get yesterday date
Replies: 1
Views: 2101

get yesterday date

To get the date I use:

Code: Select all

proc getDate {} {
    set temp [clock format [clock seconds] -format "%Y-%m-%d"]
    return $temp
}
How can i get yesterdays date?

Thanks
by paull
Sun Dec 07, 2008 7:00 am
Forum: Scripting Help
Topic: botnet !restart <bot>
Replies: 2
Views: 2701

Ok, I got it to work, maybe not the right way but it works. I am a noob at coding so if someone else have a better idea, let me know :) (HUB bot is in a private channel, so no one else can use this trigger) In channel with HUB bot: !restart <botnick> Loaded in HUB bot: bind pub o|o !restart pub:rest...
by paull
Fri Dec 05, 2008 4:40 pm
Forum: Scripting Help
Topic: Timer
Replies: 3
Views: 2277

search the forum for "utimer" and you find lof of info :)
by paull
Fri Dec 05, 2008 10:56 am
Forum: Scripting Help
Topic: botnet !restart <bot>
Replies: 2
Views: 2701

botnet !restart <bot>

I am looking for a code to load in the HUB bot in the botnet and will restart a botnick when triggered like !restart <bot> in the HUB channel?

Is this possible?

thanks
by paull
Mon Dec 01, 2008 2:23 pm
Forum: Scripting Help
Topic: pauze code for xx secs
Replies: 3
Views: 2462

Good idea, thanks.

So the code will be something like(?):

Code: Select all


 putallbots "!channel $test1 $test2"
 utimer 5 [list usetest $test1 $test2]
}



proc usetest {test1 test2} {



Thanks
by paull
Mon Dec 01, 2008 10:25 am
Forum: Scripting Help
Topic: pauze code for xx secs
Replies: 3
Views: 2462

pauze code for xx secs

I am looking for a code that will wait xx sec before it goes to th next part. Past of my code: putallbots "!channel $chan $nick" (hold for xx secs) set output [::mysql::sel $db "SELECT * FROM channel WHERE nick = '$nick' LIMIT 1;" -list] if {[string equal $output ""] !=...