The the person can answer the question and when they have done so the bot gives the person the next question in line. The answer is stored in a file somewhere. This carrys on for a few questions until they get to the end, where all the answers get emailed to a email address.
I have the following so far, I know its not much, but i was stuck on how to do this next bit.
Code: Select all
putlog "Loading Recruitment Script by Almighty"
bind join *|* * msg_join
bind pub - !recruit pub:recruit
proc msg_join {nick host hand chan} {
putserv "NOTICE $nick :Welcome to We Are Now Kings, for the recruitment questions use !recruit. Enjoy your stay!"
}
proc pub:recruit {nick uhost hand chan args} {
global botnick
putserv "NOTICE $nick :------\002Recruitment Questions for We Are Now Kings: \002---------"
putserv "NOTICE $nick :FIRST QUESTION HERE"
putserv "NOTICE $nick :INSERT QUESTIONS HERE"
}