Formatting of code : You can (and must) use [ tcl ] an [ /tcl ] tags (without spaces in tags) to format your TCL codes and have syntax coloration x


[Solved] remove access after sometime
#1
hi all,

just want to ask a help from this community for a script.



To do;

it scan Undernet users with access on specific channel. then, after scanning and find out inactive users that have an access in that specific channel.
we need to set from the script about 30days inactive and the bot (with channel admin access) will remove the channel access.

<user>!activeuser
<bot>Please wait while scanning #channel users access...

after scanning, the bot notice or private msg to the bot owner:

<bot>Inactive users for #channel: User1 (20days), User2 (25days), User3(30days), User4(10days)
<bot> Do you want to remove inactive user/s beyond 30days. yes or no? Type in channel: !removeuser yes or /msg Bot remove yes

from the channel:
<user>!removeuser
<bot>Removing inactive users (30days) in #chanel.
<bot>Done.


from privmsg:
<bot>Removing inactive channel users in #channel.
<bot>Done.


or if you know similar script, please share..



thank you all.
  Reply


Messages In This Thread
remove access after sometime - by mabrook - 02/10/2021, 10:37
RE: remove access after sometime - by ZarTek - 02/10/2021, 10:55
RE: remove access after sometime - by mabrook - 02/10/2021, 11:02
RE: remove access after sometime - by ZarTek - 02/10/2021, 18:04
RE: remove access after sometime - by mabrook - 02/10/2021, 23:31
RE: remove access after sometime - by mabrook - 04/10/2021, 08:30
RE: remove access after sometime - by mabrook - 04/10/2021, 09:52
RE: remove access after sometime - by mabrook - 20/10/2021, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)