IRC Services
From ClueWiki
ClueIRC uses a services package written by the ClueNet founders called PHPserv. As hinted, PHPserv is written in PHP and is connected to the IRC network as Atheme or Anope would be.
All commands can be found on IRC with the /msg <service> HELP command.
Contents |
PHPserv
PHPserv is the main bot users will interface with. The PHPserv client handles accounts (like AuthServ/UserServ), and does not facilitate nickname ownership, as NickServ does. There is no link between nicknames and PHPserv accounts
Commands
Register
/msg PHPserv REGISTER username password
Registers an account with PHPserv. username is your account name, password is a new password for your account.
This creates an account for you to retain access and settings on; if you wish to own a nickname, identify to PHPserv and then register with NickServ.
Identify
/msg PHPserv IDENTIFY username password
Identifies to a registered PHPserv account. username is the account name you registered with, password is the password for that account.
SetPass
/msg PHPserv SETPASS password
Changes the password for the account you're currently logged into.
LogOut
/msg PHPserv LOGOUT
Logout of your PHPserv account.
NickServ
NickServ is an extension to PHPserv which facilitates nickname ownership. PHPserv alone will not manage your nickname; you must register with NickServ for this to happen.
Commands
Register
/msg NickServ REGISTER
Links the current nickname with the PHPserv account you're currently identified to.
Identify
/msg NickServ IDENTIFY nickname password
An alias to /msg PHPserv IDENTIFY username password. The nickname parameter is optional.
Ghost
/msg NickServ GHOST nickname
Kills the nickname if it is connected to IRC and linked to your PHPserv account. You must be identified to your PHPserv account before ghosting.
Drop
/msg NickServ DROP
Reverses the REGISTER command, delinking the current nickname from your PHPserv account.
DaVinci
DaVinci is the bot which keeps track of your CluePoints.
Commands
All commands to DaVinci can be used by using the alias /dv command or typing in a channel shared with DaVinci, .command
All behavioral commands (such as noticing you on change of points) are toggled, while the remaining commands are informational.
Behavioral
verbose
Notices you on any change of points. When toggled off, this turns off vdeductions as well.
< SnoFox> Hi, I am a clueful elite. -DaVinci- You have gained 2 points. < SnoFox> PHP ftw. -DaVinci- You have lost 30 points.
vdeductions
Notices you only on negative changes to points.
vlog
Notices you about specific reasons you gain/lose points.
< SnoFox> Hi, I am a clueful elite. -DaVinci- Clueful sentence +2 < SnoFox> PHP ftw. -DaVinci- No vowels -30 < SnoFox> <censored>
reset
Resets your DaVinci info by setting your points to zero, clearing your log, and kicking you from the channel.
< SnoFox> .reset -DaVinci- User reset. -!- SnoFox was kicked from #clueirc by DaVinci (User reset.)
Informational
points
Notices you how many CluePoints you currently have.
< SnoFox> .points -DaVinci- snofox has 79395 points. < SnoFox> .points Cobi -DaVinci- Cobi has 121545 points.
En español: puntos
stats
Notices you the information on a user's (non)clueful past.
< SnoFox> .stats
-DaVinci- snofox's stats:
-DaVinci- Clueful sentence +2: 24394. Normal sentence +1: 3140. Abnormal sentence -1: 684. Use of non-printable ascii
characters -5: 179. Administratively changed: 4. All caps -20: 39. No vowels -30: 95. Use of profanity -20: 51. Lower-case personal pronoun -5:
4. Use of r, R, u, or U -40: 9.
< SnoFox> .stats Cobi
-DaVinci- Cobi's stats:
-DaVinci- Abnormal sentence -1: 875. Normal sentence +1: 2139. All caps -20: 25. No vowels -30: 64. Administratively
changed: 53. Clueful sentence +2: 25096. Bot PM -50: 1. Lower-case personal pronoun -5: 34. Use of r, R, u, or U -40: 6. Use of non-printable
ascii characters -5: 29. Use of profanity -20: 1.
whois
Notices you a combination of .points and .stats, as well as rank and administrative status.
< SnoFox> .whois Cobi
-DaVinci- Cobi holds the rank of: Clueful elite.
-DaVinci- Cobi has 121545 points.
-DaVinci- Cobi's track record: Abnormal sentence -1: 875. Normal sentence +1: 2139. All caps -20: 25. No vowels -30:
64. Administratively changed: 53. Clueful sentence +2: 25096. Bot PM -50: 1. Lower-case personal pronoun -5: 34. Use of r, R, u, or U -40: 6.
Use of non-printable ascii characters -5: 29. Use of profanity -20: 1.
-DaVinci- Cobi is an administrator.
En español: quienes
whoami
Alias to whois <your-nick>
< SnoFox> .whoami
-DaVinci- snofox holds the rank of: Clueful elite.
-DaVinci- snofox has 79413 points.
-DaVinci- snofox's track record: Clueful sentence +2: 24291. Normal sentence +1: 3130. Abnormal sentence -1: 684. Use
of non-printable ascii characters -5: 179. Administratively changed: 4. All caps -20: 39. No vowels -30: 95. Use of profanity -20: 49.
Lower-case personal pronoun -5: 4. Use of r, R, u, or U -40: 9.
En español: quiénsoyyo
lineaverage
Notices you the average line length of messages DaVinci can see.
< SnoFox> .lineaverage -DaVinci- The line average is: 3.141592653589
top
Displays top 7.5 users DaVinci knows to have the highest CluePoints scores.
< SnoFox> .top -DaVinci- crispy has 253960 points. -DaVinci- cobi has 121545 points. -DaVinci- jared has 99914 points. -DaVinci- dvyjones has 93316 points. -DaVinci- davenull has 79513 points. -DaVinci- snofox has 79395 points. -DaVinci- crazytales has 76238 points. -DaVinci- ton[...] has 627[...] points.
lamers
Displays the users DaVinci knows to have the lowest CluePoints scores.
< SnoFox> .lamers -DaVinci- thesi[...] has -7[...] points. -DaVinci- wongsolo has -799 points. -DaVinci- null has -844 points. -DaVinci- gameskeeper has -858 points. -DaVinci- limp_trizkit has -864 points. -DaVinci- teilar has -1080 points. -DaVinci- nine has -1352 points. -DaVinci- tdjacr|tired has -3050 points.
Variants: lamers
Behavior
To get DaVinci, simply invite him to your channel.
To get rid of him, kick him. While DaVinci is in the channel, he will keep track of CluePoints as he would in #clueirc.
For more information about DaVinci, see his page here.
HostServ
ClueIRC offers a fully featured vHost service to allow you to hide your real ISP/IP. All vHosts must conform to the vHost policies.
vHosts will be automatically set by HostServ upon identifying to NickServ or PHPserv.
Request
/msg HostServ REQUEST vhost
Requests a vHost for your account. It will undergo oper verification before being activated.
On
/msg HostServ ON
Activates your vHost if for some reason it is not set already (set -x, oper /chghost'ed you, bugs).
Off
/msg HostServ OFF
Deactivates your vHost and sets your cloaked host (e.g. ~SnoFox@clue-96C2FB6C.cluenet.org)
Del
/msg HostServ DEL
Deletes your vHost if you do not want a vHost any longer.
ChanServ
ClueIRC currently offers a minimal ChanServ service, which will be expanded on in the future. Below are the basic commands ChanServ currently supports.
Register
/msg ChanServ REGISTER channel
Registers a channel with your PHPserv account so you may re-Op yourself.
Drop
/msg ChanServ DROP channel
Unregisters a channel. Another user may re-register the channel.
Op
/msg ChanServ OP channel /msg ChanServ OP channel nick
Ops you or a given nickname in a channel providing you are the founder
DeOp
/msg ChanServ DEOP channel /msg ChanServ DEOP channel nick
DeOps you or the given nickname in a channel providing you are the founder
Info
/msg ChanServ INFO channel
Returns some info about the channel, including the founder.
BotServ
In alternative to standard ChanServ and BotServ packages, ClueIRC offers BotServ. BotServ is a scriptable channel bot, which allows you to add PHP snippets to control parts of the channel normally patrolled by ChanServ and/or Eggdrops, such as access, entry messages, badwords, and various other aspects of a channel.
Getting BotServ
To get a BotServ bot, beg and whine in #clueirc until someone with access to BotServ wakes up and asks you for your PHPserv account name, channel you want the bot in, and a nickname for the bot.
Commands
All commands are messaged to YOUR BotServ bot.
Templates
Templates are pre-configured PHP snippets which provide many useful or common commands.
Using a template
To use a template, message your BotServ bot the following commands:
COMMAND TEMPLATE ADD template COMMAND TEMPLATE ADD up COMMAND TEMPLATE ADD dehalfop
Where template is the command you want to add.
To list all available templates, use the following command:
COMMAND TEMPLATE LIST
Access
Under construction. Feel free to provide your information here.