Request a script

Platform:  mIRC
Published  Jun 14, 2008
Updated  Jun 24, 2008
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

Comments

Sign in to comment.
Trikloa   -  Aug 31, 2008
Well, even if it's just not working it's still a little vague. ;x
I'd prefer you'd atleast give what commands aren't working, what you've tried to get it to work, or any edits you've made to the script. Any details you couold supply would be helpful.
 Respond  
AdrianF   -  Aug 28, 2008
mountaindew. its just not worken
 Respond  
mountaindew   -  Jun 30, 2008
Well try to be more specific, tell him what isn\'t working. Or perhaps read the introduction if you haven\'t yet.
 Respond  
AdrianF   -  Jun 30, 2008
The Script Is Once Again !@#$ Up. I Cant Figure Out What To Do. Fix Please
 Respond  
AdrianF   -  Jun 30, 2008
lol. your welcome. you Should Make It More Colorful. LOL
 Respond  
Trikloa   -  Jun 24, 2008
Thanks for pointing that out, stuff like that blows right by ¬⌐
 Respond  
AdrianF   -  Jun 18, 2008
ohh
Yoou Made A Mistake
You Put Ruler And Asked what chan. not who. lol
 Respond  
AdrianF   -  Jun 18, 2008
Not Working
 Respond  
Fuzion   -  Jun 15, 2008
very nice i gave it a 8
 Respond  
PuNkTuReD   -  Jun 15, 2008
this is very nice
8 from me
 Respond  
Trikloa   -  Jun 14, 2008
Seems I pluralized that last %script , I fixed it `^¸¸^´
 Respond  
Trikloa   -  Jun 14, 2008
Done, that one flew right by me `·¸¸·´
 Respond  
mountaindew   -  Jun 14, 2008
Add another } at the end
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.