egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PLTools - New party-lines commands

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1037
Location: France

PostPosted: Sun Oct 16, 2022 10:56 am    Post subject: PLTools - New party-lines commands Reply with quote

This script add some PL commands:

All commands are accessible to global +m (master) or to local +n (owner). If the user is +n, the results are restricted to the channels he owns.

COMMANDS
.getattr <attribute>: Return the value of <attribute> for each channel
.toggle <flag attribute> [channel]: Toggle the attribute (must be of type flag) on channel or all channels if none targeted
.achannels [attr]: Return list of channels with attr enables
.mcset [#chan[,#chan]] <[+|-]attr> [value] [+|-attr [value]] [+|-attr [value]]: Mass change value of attributes. See examples below.

EXAMPLES
As said before, if user is local +n, only the channels he owned will be affected. Strings containing spaces or empty string must be encapsuled in {}

  • .mcset need-op {} need-invite {putserv "PRIVMSG $::owner :Invite me!"} mytest {}: This will empty need-op and mytest (string or int) and set putserv "PRIVMSG $::owner :Invite me!" in need-invite
  • .mcset #chan1,#chan2 +guard -bitch wmsg {"hello guys"}: This will turn guard on, bitch off and set wmsg to "hello guys" on #chan1 and #chan2


DOWNLOAD - SUPPORT
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber