- Put all the message in a text file and either use /play command with the -r switch or simply use the $read(file.txt) to send a random message.
what Jethro_ suggested there is a great idea seeing as how the -r switch creates a timer
between triggers
[learned dat from Jethro_ =D]
i learned a way u can do this script using an alias
and a var
on $*:text:/^[!|.]pokemon/:#:{
if %PKTimer. [ $+ [ $nick ] ] {
notice $nick You must wait $duration( %PKTimer. [ $+ [ $nick ] ] ) before you can do that again.
halt
}
msg # $nick has caught a $PKEvent $+ ! Congratz!
}
set -z [ %PKTimer. [ $+ [ $nick ] ] ] $r(60,300)
notice $nick You may use this again in $duration( %PKTimer. [ $+ [ $nick ] ] ) $+ .
}
}
alias -l PKEvent {
var %x = $r(1,3)
if %x = 1 { return something | halt }
if %x = 2 { return Jethro_ | halt }
if %x = 3 { return GuitarMasterx7 | halt }
}
ECT.
(02:25:34) <@GuitarMasterx7> .pokemon
(02:25:34) <@Kindfer> GuitarMasterx7 has caught a GuitarMasterx7! Congratz!
(02:25:35) -Kindfer- You may use this again in 4mins 15secs.
(02:25:42) <@GuitarMasterx7> .pokemon
(02:25:43) -Kindfer- You must wait 4mins 7secs before you can do that again.
ftw
but then again mine still abuses if statements
damn...fail lolz
any pokemon after 297 will never be caught because of this line
/set %T $rand(1,297)
das cuz he copied this script from JSG55's link
xD