| View previous topic :: View next topic |
| Author |
Message |
Dominatez Halfop

Joined: 14 Jan 2019 Posts: 46 Location: United Kingdom
|
Posted: Tue Apr 23, 2019 4:20 pm Post subject: Is There Another Op Code ? |
|
|
Is there another identifier for ops with ~ beside their nickname.
The bot does not recognise.
if {[isop $nick $chan] || [isvoice $nick $chan]}
Recognises @ as an op and +v as a voice, but refuses to do anything with ~next to the names. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Tue Apr 23, 2019 10:32 pm Post subject: Re: Is There Another Op Code ? |
|
|
| Dominatez wrote: | Is there another identifier for ops with ~ beside their nickname.
The bot does not recognise.
if {[isop $nick $chan] || [isvoice $nick $chan]}
Recognises @ as an op and +v as a voice, but refuses to do anything with ~next to the names. |
Look in eggdrop.conf.
Find:
| Code: |
# Some IRC servers are using some non-standard op-like channel prefixes/modes.
# Define them here so the bot can recognize them. Just "@" should be fine for
# most networks. Un-comment the second line for some UnrealIRCds.
set opchars "@"
#set opchars "@&~"
|
Try adjusting that.
 _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Wed Apr 24, 2019 9:49 am Post subject: |
|
|
thommey's arbitrary chanmodes tcl adds those checks
if {[isowner $nick $chan] || [isadmin $nick $chan] || [isop $nick $chan] || [ishalfop $nick $chan] || [isvoice $nick $chan]}
http://thommey.tclhelp.net/dl/dl.htcl?id=6
Last edited by simo on Thu Apr 25, 2019 8:21 am; edited 1 time in total |
|
| Back to top |
|
 |
Dominatez Halfop

Joined: 14 Jan 2019 Posts: 46 Location: United Kingdom
|
Posted: Wed Apr 24, 2019 5:19 pm Post subject: |
|
|
Thanks guys.
Worked a treat. |
|
| Back to top |
|
 |
|