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 

Auto Voice To Those Who Are Register NICK.
Goto page Previous  1, 2, 3, 4, 5, 6
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
simo
Master


Joined: 22 Mar 2015
Posts: 438

PostPosted: Mon Mar 27, 2017 9:06 am    Post subject: Reply with quote

now getting:
Quote:
Tcl error [::RegVoice::isReg]: unbalanced open paren
in expression "(!1"
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3645
Location: Mint Factory

PostPosted: Mon Mar 27, 2017 9:48 am    Post subject: Reply with quote

Oh boy.. coding habit made me open the if with an ( instead of an { like TCL wants. Rolling Eyes Locate:
Code:

if (![channel get $chan checkisauth] || ![onchan $nick $chan] || [isop $nick $chan] || [isvoice $nick $chan]} continue

and replace it with:
Code:

if {![channel get $chan checkisauth] || ![onchan $nick $chan] || [isop $nick $chan] || [isvoice $nick $chan]} continue

_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 438

PostPosted: Mon Mar 27, 2017 10:01 am    Post subject: Reply with quote

that seemed to fix it thx caesar
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 438

PostPosted: Sun May 31, 2020 8:10 am    Post subject: Reply with quote

i noticed like for example on dalnet u can use multiple targets for whois command meaning u can compress multi nicks in in 1 whois command (not sure what max allowed is as raw 005 doesnt say on connect i tried like 20 nicks in 1 whois command and it seemed to execute fine tho)

like so: whois nick,nick,nick,nick,nick,nick,nick,nick,nick,nick,nick,nick,nick

wich might result in not gettin disconnected in the case of mass joins unlike having it execute 1 by 1

whois nick1
whois nick2
whois nick3
whois nick4
whois nick5
whois nick6
whois nick7
whois nick8

wich might get u disconnected since using a command excessively in the case of a mass join wich happens regularly on dalnet not to mention the daily netsplits wich has nicks mass rejoin again after servers link again
_________________
Coming together is a beginning, staying together is progress, working together is succes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
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