Guest Glock Posted August 2, 2013 Report Share Posted August 2, 2013 (edited) Does anyone have anything or know a way to have the bot unspec and host a user when it private message it a password? Example: <user> - whisper - <bot> unspec yourpassword. This will get the user made a participant then a host in the host room only. Example: <user> - whisper - <bot> host yourpassword <roomname>. This will get the user added to the host access list for five minutes for the room specified. I also want it so not just any user can do this (you have to be using a certain nickname), and also so they cant do it in just any room. (has to be the rooms I specify). I assume this would have to be a database of some sort that matches the users nickname, channel name and password? If anyone knows how to do this please feel free to post it here Edited August 2, 2013 by Glock Link to comment Share on other sites More sharing options...
Pablo Posted August 2, 2013 Report Share Posted August 2, 2013 I think you need to hire a scripter or find a forum willing to help you to be quite honest. Your multiple requests are going unanswered. From what I see you are pretty much asking someone to write scripts for you. No one really seems interested. Link to comment Share on other sites More sharing options...
err0r Posted August 4, 2013 Report Share Posted August 4, 2013 Using a password is way less secure than adding your hosts to a level in your script. That way there is less of a security risk. However this is basically how to do it with password on *:TEXT:host:?: { if ($2 == hostpasswordhere) { mode $comchan($nick,1) +vo $nick $nick } closemsg $nick } This is a very basic snippet. To ensure this works for you depends on the server details. Does your server use color codes. If so you will need to either strip them out or use wildcards Does your server include the roomname through a WHISPER raw. If so you will again need to make the changes needed to $comchan bit You may need to use the whisper raw instead of the on text. I personally would scrap the password and use levels. Then you can set them per room and per user. Hopefully this will get you started in the right direction. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now