This is a fun script made by me 2 years ago ... will be very funny and editable for anyone.. Just copy and paste the code in a notepas and save it as Slapscript.mrc ... type /load -rs Slapscript.mrc ...
Open a new notepad and save the following line and save it as slaps.txt make sure u keep both the files in the right place. If u don't know the right place check the error message u will get to know where u have to place the script and txt file ... now copy the lines :-
Windows 95
a KFC mega bucket
a Jackie Chan Legs .....
a pen
a shoe
a used Tissue Paper
a dildo
Simpsons creator Matt Groening
coca-cola
1GB of RAM
an ethiopian
a pan
himself
his portable DVD player
an ACER T180 MODEL Computer
jesus
a ban stick
a Samosa Tray
a Smorgasbord
Tarantism
A Case Full Of Beers
a Barracuda
a space monkey
his Random Slap Script By SreeKanth
a mexican midget
the Mexican border
a rubber chicken
teh ban hammah
Bill Gates
microsoft
STD'S
His pan cake
a Tooth Pin
king leonidas
a Jewish rabbi. Double prawned.
teh Jew claw
Feudalism
the modern world
a Stinking Socks
a he/she
-h
+q
teh 1930's
a trojan
a trojan condom
teh virus
teh internetz
johnny quest
hearts
the queen of England
crumpets
biscuits
tea Cup
a Used Tooth Brush
a Toilet Cleaner Broom
his torren underwear
drums
Paragon chappal
Wipped tissues
Drum Sticks
Girls sandals
on *:action:$($+(*,slap,*,$me,*)):*:{
if ( %slap. [ $+ [ $nick ] ] ) {
set -eu10 %slap. [ $+ [ $nick ] ] 1
return
}
if ($me isin $1-) {
describe $chan slaps $nick around a bit with $read(slaps.txt) $+ .
set -eu10 %slap. [ $+ [ $nick ] ] 1
}
}
#End Random Slap
on *:load:echo Thank You For Using Random Slap v1.0 By; 1 4,1-=9+4=- 0,1Sree0,4K0,1anth 4,1-=9+4=- }
on *:unload:{ echo -a Random Slap v1.0 Has Been Deleted! }
Your slap snippet is redundant. Why do you specify "slap $me" as a wildcard in the match text section of the text event with an if condition of "$me isin $1-?"
This is all you need:
on *:action:$($strip($+(*,slap,*,$me,*))):*:{
if (!%slap. [ $+ [ $nick ] ]) {
describe $iif(#,#,$nick) slaps $nick around a bit with $read(slaps.txt) $+ .
set -eu10 %slap. $+ $nick 1
}
}
When you set the dynamic variable, you don't need to include the evaluation bracket []. A $strip() identifier is advised so your mIRC recognizes the trigger if someone has their script customized with control codes, and that you do not have the option of incoming messages stripped enabled. The exclamation mark by the %slap is pretty much the same as:
if (%slap. [ $+ [ $nick ] ] == $null) {
that would make this script useless if you did that sammael. this is not just a simple slap script. this is an auto slap script for when someone slaps you it will automatically reply