TCLDROP
Would you like to react to this message? Create an account in a few clicks or log in to continue.
TCLDROP
Eggdrop And TCL Help, Support And Chat
Home
Publications
FAQ
Search
Search Query
Display results as :
Posts
Topics
Advanced Search
Memberlist
Latest images
Usergroups
Register
Log in
Calendar
Website
ChatRoom
TCLDROP
::
TCL
::
Script Requests
Sticky Topic
2 posters
Author
Message
EggMan
Voice
Posts
:
6
Points
:
10
Reputation
:
0
Join date
:
2020-06-30
Subject: Sticky Topic
30/6/2020, 14:52
Hiya
Im new to using eggdrop.
is there a way to keep the topic in my channel, even when the bot goes down and restarts?
Like
Dislike
BdS
Moderator
Posts
:
33
Points
:
33
Reputation
:
0
Join date
:
2020-05-08
Location
:
France
Subject: Re: Sticky Topic
30/6/2020, 18:04
You want he keep a default topic that he always puts back. Or you want re-run the actual topic ?
Like
Dislike
EggMan
Voice
Posts
:
6
Points
:
10
Reputation
:
0
Join date
:
2020-06-30
Subject: Re: Sticky Topic
30/6/2020, 22:01
To make a set topic on the script to be sticky
Like
Dislike
BdS
Moderator
Posts
:
33
Points
:
33
Reputation
:
0
Join date
:
2020-05-08
Location
:
France
Subject: Re: Sticky Topic
1/7/2020, 10:46
Can you explain what you're really looking for, in detail ?
Like
Dislike
EggMan
Voice
Posts
:
6
Points
:
10
Reputation
:
0
Join date
:
2020-06-30
Subject: Re: Sticky Topic
2/7/2020, 19:03
So for example
i set topic to blah blah blah
Nick1 changes topic to blah2
bot changes topic back to blah blah blah
Like
Dislike
BdS
Moderator
Posts
:
33
Points
:
33
Reputation
:
0
Join date
:
2020-05-08
Location
:
France
Subject: Re: Sticky Topic
2/7/2020, 19:39
Now I understand your request. I'll look into it tomorrow.
On the other hand nothing prevents you from proposing a beginning of code or trying to do it
Like
Dislike
BdS
Moderator
Posts
:
33
Points
:
33
Reputation
:
0
Join date
:
2020-05-08
Location
:
France
Subject: Re: Sticky Topic
2/7/2020, 19:54
Who can change the topic? The operators on the egg or just the admins?
Like
Dislike
BdS
Moderator
Posts
:
33
Points
:
33
Reputation
:
0
Join date
:
2020-05-08
Location
:
France
Subject: Re: Sticky Topic
6/7/2020, 10:06
Code:
set deftopic "Your default topic"
set flagtopc "n|n"
bind topc - * do_topic
proc do_topic {nick uhost hand chan text } {
if {[matchattr [nick2hand $nick] $::flagtopc] || [isbotnick $nick]} {
return 0
} else {
puthelp "topic $chan :$::deftopic"
}
}
Only the admin (with "n" flag) can change the topic
Like
Dislike
Sponsored content
Subject: Re: Sticky Topic
Sticky Topic
Page
1
of
1
Similar topics
Similar topics
»
Simple Timer Topic Txt file script
Permissions in this forum:
You
cannot
reply to topics in this forum
TCLDROP
::
TCL
::
Script Requests
TCLDROP
::
TCL
::
Script Requests
Jump to:
Select a forum
|
|--General
| |--Forum Info
|
|--General Chat
|--Eggdrop
| |--Eggdrop Help
| |--Modules & Programming
|
|--TCL
| |--Eggdrop & Tcl FAQ
| |--Scripting Help
| |--Script Support & Releases
| |--Script Requests
|
|--Shell & Znc/Bnc
| |--Shell & Bouncer Help
| |--Shell & Bouncer Providers
|
|--Other
|--Other
|--Archive
|--Code