With this script, users can steal random objects from users... (But you dont have to enter a nickname, could be a normal name too.)
To use it, write down -steal- <(nick)name>
(You yourself cannot use it... sorry for that
you can use it by putting yourself two times in the channel you are in.)
on *:TEXT:-steal-*:#:{
{ describe # 1,0 sneaks up to $2 without $2 noticing. | describe # 0,1disappears, then reappearing in back of $2 as he grabs into the pockets of $2 }
/set %lulz $rand(1,15)
if (%lulz == 1) { describe # 1,0has stolen a condom?! }
if (%lulz == 2) { describe # 1,0has stolen a pack of sigarettes.. Yuck. }
if (%lulz == 3) { describe # 1,0has stolen a rotten apple. }
if (%lulz == 4) { describe # 1,0has stolen a joint. }
if (%lulz == 5) { describe # 1,0has stolen a mini book of black magic... Suspicious. }
if (%lulz == 6) { describe # 1,0has stolen a GBA Advance. }
if (%lulz == 7) { describe # 1,0has stolen used bandages. }
if (%lulz == 8) { describe # 1,0has stolen pepper spray... }
if (%lulz == 9) { describe # 1,0has stolen 50 bucks!!! }
if (%lulz == 10) { describe # 1,0has stolen a pot of nails... }
if (%lulz == 11) { describe # 1,0has stolen fish remains... Phew they smell. }
if (%lulz == 12) { describe # 1,0has stolen a mars bar! But it's half molten. }
if (%lulz == 13) { describe # 1,0has stolen pieces of broken glass... }
if (%lulz == 14) { describe # 1,0has stolen a note with... Login information! It's for... mIRC!! WOOH!! }
if (%lulz == 15) { describe # 1,0has stolen an overdated condom?! GROSS. }
}
@ Viper,Its common that people do not read the descriptions and fail caues they cant hardly read the code either so..Best thing you can do is add a \'\'On *:LOAD: \'\' event so they are notified of what they need to do such as this small example i just made:
on *:LOAD: {
if (%_Test_File) { halt }
var %_Test = $Input(Please type a file name that you would like your data to be sent and called from here.,yeuw,Please Create A File)
write %_Test $+ .txt
$Input(The file name \" $+ %_Test $+ \" has been created.Please type !test <Text> to add data to the file to be called and stored.,io,File Created!)
set %_Test_File %_Test $+ .txt
}
on *:TEXT:*:#: {
if ($nick == Eve) && ($strip($1) == !Test) {
if (!$strip($2)) { .notice $nick Please type something after !test | halt }
write %_Test_File $strip($2-)
.notice $nick $strip($2-) has been added to the file $+ %_Test_File $+ .
}
}
So more often then not people dont understand what to do so try to be clear and not half ass descriptions.Remember others are useing this an may need good instructions other wise they fail an you fail with them.Half the code is coding the other half is makin it useful an easy to sue for others in the case you have released it.`-.-
instead of using global variables, try using:
Var %lulz $r(1,5)
also, you don\'t have to use the opening brackets after every \'If (%lulz == #)\', which also means the closing brackets at the end are rendered useless.
Also, timer functions would be a good addition, since the way it\'s setup now would spam the channel with all the text at the same time.
Try:
If (%lulz == 1) .timer 1 3 describe # has stolen <w/e> from $2 $+ !
Then it will wait 3 seconds before it shows the channel what you stole from the target.