This is pretty much what I made because I was out of ideas for scripts, I know it's nothing fancy, and I would've used .ini's but I need more than one word of information to complete a script. So only use this if you're fresh out of ideas, and you think the public mind could have some suggestions. Type !add (nick here) to add a a nick name to the list of registered scriptors that can be asked to make a script. This is mainly used for a bot. Also type /setchan to what ever channel you want requests to be made. Also a little word of advice, if someone sends you a request while you're in the channel, either do a /hop or type !who, to get the info, since it won't send it directly to you, this is because the script was made to asume the request was made while you were gone, since that seems like the most like case. You may also want to mention to the inhabitants of the channel about the !scriptors command, so if the currently available scriptors are taken, they can request a different one. Good luck. the only way to use the !add command is to type /ruler
alias ruler {
if (!$1) { set %ruler $$?="Who's the ruler?" }
else { set %ruler $1- }
}
alias setchan {
if (!$1) { set %chana $$?="Which channel will requests be made?" }
else { set %chana $1- }
}
on *:text:!add*:%chana:{
if ($nick == %ruler) set %script %script $2 $+ 0,0m|0,0m
}
on *:text:!request*:%chana:{
if ($nick == %requested [ $+ [ $nick ] ]) { notice $nick You've already requested a script, $nick $+ . | halt }
if (!$2) { notice $nick To request a script, please specify which scriptor you want to code it, the general title, and what happens(EX: !request ScriptorName KickScript : kicks a person after activation ) the Title must be 1 word(s) so if it's multiple, do this (This_Title_Is_More_Than_One_Word) | halt }
if ($2 !isin %script) { notice $nick $2 is not a registered scriptor in # $+ . | halt }
if (%make [ $+ [ $2 ] ]) { notice $nick $2 is already working on a script, requested by %requestor [ $+ [ $2 ] ] $+ . | halt }
if (!$3) { notice $nick You haven't specified The title of the script you're requesting | halt }
if (!$4) { notice $nick You need to specify the details of your script | halt }
else {
inc %make [ $+ [ $2 ] ]
set %details [ $+ [ $nick ] ] $3-
set %requested [ $+ [ $nick ] ] $nick
set %requestor [ $+ [ $2 ] ] $nick
notice $NICK You're request has been sent
}
}
on *:JOIN:%chana:{
if ($nick isin %script) && (%make [ $+ [ $nick ] ]) { notice $nick $nick $+ , %requestor [ $+ [ $nick ] ] has requested a script for you, here are the details: %details [ $+ [ %requestor [ $+ [ $nick ] ] ] ] $+ . Type !done when you are finished with this script, or !deny if you cannot make this script. This message will continue showing up until you complete this script. When/if you type !done, give %requestor [ $+ [ $nick ] ] a pastebin address rather than the whole code (EX: http://www.Pastebin.com/8hd6sY7 ) }
}
on *:text:!deny:%chana:{
if ($nick !isin %script) { notice $nick You aren't a scriptor | halt }
if (!%make [ $+ [ $nick ] ]) { notice $nick You aren't working on a script | halt }
ms send %requestor [ $+ [ $nick ] ] Sorry %requestor [ $+ [ $nick ] ] $+ , $nick has declined your script of %details [ $+ [ %requestor [ $+ [ $nick ] ] ] ] 14Please don't be angry at $nick for this, they either didn't have time, not enough scripting skills, or your scripts is impossible to make.
unset %requested [ $+ [ %requestor [ $+ [ $nick ] ] ] ]
unset %make [ $+ [ $nick ] ]
unset %requestor [ $+ [ $nick ] ]
unset %details [ $+ [ %requestor [ $+ [ $nick ] ] ] ]
}
on *:text:!done*:%chana:{
if ($nick !isin %script) { notice $nick You aren't a scriptor | halt }
if (!%make [ $+ [ $nick ] ]) { notice $nick You aren't working on a script | halt }
if (!$2) { notice $nick You need to specify who's script you're done with. | halt }
elseif (%requestor [ $+ [ $nick ] ] != $2) { notice $nick $2 is not the person who requested your script, type !who to see who requested your script | halt }
elseif (!$3) { notice $nick You need to give %requestor [ $+ [ $nick ] ] the address of their script | halt }
else { ms send $2 $3- |0,0m14This is the address of your script, please click on it and use it to your advantage
unset %requested [ $+ [ %requestor [ $+ [ $nick ] ] ] ]
unset %make [ $+ [ $nick ] ]
unset %requestor [ $+ [ $nick ] ]
unset %details [ $+ [ %requestor [ $+ [ $nick ] ] ] ]
}
}
on *:text:!who:%chana:{
if ($nick !isin %script) { notice $nick You aren't a scriptor | halt }
if (!%make [ $+ [ $nick ] ]) { notice $nick You aren't working on a script | halt }
notice $nick %requestor [ $+ [ $nick ] ] is the one who requested the script details of %details [ $+ [ %requestor [ $+ [ $nick ] ] ] ]
}
on *:text:!scriptors:%chana: notice $nick These are the scriptors: %script