!invite Help Please - 04/08/06 04:47 AM
on *:text:!invite *:#CHANNEL:{
if ($nick ishop #) || ($nick isop #) {
invite $2- $chan
notice $chan .... 11,1 $2- Has been invited to #CHANNEL by $nick .
notice $2- 9,1 You have been invited to join #CHANNEL
}
Ok this is the script I have at the moment. Is there a way for people to set a name and pass or for me to add their name to a list so they can invite theirself. I would like to keep the script above so I can invite new users. Would just like to add this feature to the bot.
Maybe:
!add (Name) for a hop or op to add them
or
/msg (Bots Name) !add (name) (pass)
Either will work if possiable. Maybe even give a notice to the chan saying $nick Has been added to the Invite list.
They would type this to the bot if name and pass....
Ex. /msg (Bot's Name) !Invite (Name) (Pass)
Or
This if it is the list.....
ex. /msg (Bots Name) !Invite (Name added to list)
And the bot will invite them? Is there a code available for this option?
Also is there a way to upload this script so the bot is online all the time?
if ($nick ishop #) || ($nick isop #) {
invite $2- $chan
notice $chan .... 11,1 $2- Has been invited to #CHANNEL by $nick .
notice $2- 9,1 You have been invited to join #CHANNEL
}
Ok this is the script I have at the moment. Is there a way for people to set a name and pass or for me to add their name to a list so they can invite theirself. I would like to keep the script above so I can invite new users. Would just like to add this feature to the bot.
Maybe:
!add (Name) for a hop or op to add them
or
/msg (Bots Name) !add (name) (pass)
Either will work if possiable. Maybe even give a notice to the chan saying $nick Has been added to the Invite list.
They would type this to the bot if name and pass....
Ex. /msg (Bot's Name) !Invite (Name) (Pass)
Or
This if it is the list.....
ex. /msg (Bots Name) !Invite (Name added to list)
And the bot will invite them? Is there a code available for this option?
Also is there a way to upload this script so the bot is online all the time?