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

by Leon--
Wed Sep 04, 2024 10:31 am
Forum: Scripting Help
Topic: bind time script
Replies: 3
Views: 1278

Re: bind time script

Thanks
by Leon--
Wed Sep 04, 2024 9:11 am
Forum: Scripting Help
Topic: bind time script
Replies: 3
Views: 1278

bind time script

Hi, I have a script but it won't work, what is the solution for this ? bind time - "43 12 4 * *" msg:videoland1 proc msg:videoland1 {nick host hand chan arg} { global botnick opchan videoland trigger statschan if {$botnick == "$videoland"} { putserv "PRIVMSG $statschan :${tr...
by Leon--
Mon Jan 29, 2024 4:45 am
Forum: Scripting Help
Topic: Timer script
Replies: 5
Views: 2890

Re: Timer script

I don't need it any more, i hvae a script what works fine
by Leon--
Sun Jan 28, 2024 2:30 pm
Forum: Scripting Help
Topic: Timer script
Replies: 5
Views: 2890

Re: Timer script

That the bot change +P in -P automaticlly, with the timer script.
by Leon--
Sun Jan 28, 2024 8:52 am
Forum: Scripting Help
Topic: Timer script
Replies: 5
Views: 2890

Re: Timer script

This is the script i mean the timer must be proc poweroff {} {
and i have no idea how i can make it
by Leon--
Sun Jan 28, 2024 7:06 am
Forum: Scripting Help
Topic: Timer script
Replies: 5
Views: 2890

Timer script

Hi, i have a script below: proc pub:power {nick host hand chan arg} { global botnick opchan set onoff [lindex $arg 0] if {$onoff == "on"} { chattr $hand +P putserv "PRIVMSG $opchan :\002POWER:\002 on" putserv "NOTICE $nick :\002POWER:\002 on" timer 1 poweroff return 0 }...
by Leon--
Sat Sep 09, 2023 12:07 pm
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

Thanks for this script :)
by Leon--
Fri Sep 08, 2023 3:01 pm
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

Can you also made a little script to see how much money some one have with the command !money and from the same users.txt Thanks alot for this, the script you made i like it very much.
by Leon--
Fri Sep 08, 2023 4:20 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

Thanks for this :)
by Leon--
Wed Sep 06, 2023 11:34 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

Ok, I don't think using .ini files is the best solution with eggdrop script, unless you really want it.
How are users added in the users.ini ?
How would you do it then, yes it's beter by host. but i have no idea how.[/quote]
by Leon--
Wed Sep 06, 2023 11:17 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

This is in tcl script bind pub - ${trigger}register pub:register proc pub:register {nick host hand chan arg} { set fname "money.txt" set fp [open $fname "r"] set data [read -nonewline $fp] close $fp set lines [split $data "\n"] set searchresult "" foreach line...
by Leon--
Wed Sep 06, 2023 10:02 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

This is in the bar.ini

Code: Select all

[bar]
topic=10
cola=2.50
sigaret=0.50
and the users.ini is

Code: Select all

[users]
Leon=470.5
This means i have 470.5 euro's, the topic costs 10 euro's and so on
by Leon--
Wed Sep 06, 2023 4:41 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

If this scripts works and some one type .pay topic that er will be removed 10 euro's from the user account and if they type !register they will be added to the userlist and get 50 euro to expand by this robot. This is a little bit the intention to work. I hope you can help me :)
by Leon--
Sat Sep 02, 2023 8:39 am
Forum: Scripting Help
Topic: mrc to tcl
Replies: 13
Views: 11544

mrc to tcl

Hi, The next text i want it in tcl. i tried but it is not done for me. I don't no why but for me it's complicated. on users:text:!pay*:#: { if (%cmd == on) { goto begin } if (%cmd == off) { goto end | halt } :begin if ($2 == topic) { goto topic } if ($2 == cola) { goto cola } :topic if ( $readini(us...