This is my first game just past this into your remotes and create one text document in your bots folder called truth.txt and add your truth questions there, and one text document called dare.txt to add your dares to lastly make a document called pass to add your taunts to for if someone passes there go just remember to have it say someones name you need to type (u) instead of $nick...
For e.g Aww Come on (u) its only a game
would return
Aww come on Cobra_Strike its only a game...
once started the game will last 10 minutes type !start-td to start the game, !Truth for a truth question, !dare for a dare, !pass to pass your go, !end-td to end the game, after you complete your go type !turn for the next victim
Hope you enjoy it =D
#################################
# Truth or Dare By Cobra_Strike #
#################################
on 1:TEXT:*!start-td*:#:{
enable #group1
msg $chan Truth or dare started the game will last 10 minutes type !Truth for a truth question, !dare for a dare, !pass to pass your go, !end-td to end the game, after you complete your go type !turn <nick> for the next victim, I hope you enjoy... Good luck you might just need it
.timer 1 2 msg $chan $nick you started the game so its your go first
$+(.timerexpire) 1 600 expire #
set %turn.nick $nick
}
#Group1 off
on 1:TEXT:!truth*:#:{
if ($nick == %turn.nick) msg $chan Truth for $nick : $read(Truth.txt)
else notice $nick Please wait Your Turn it is %turn.nick 's go.
}
on 1:TEXT:!dare*:#:{
if ($nick == %turn.nick) msg $chan Dare for $nick : $read(dare.txt)
else notice $nick Please wait Your Turn it is %turn.nick 's go.
}
on 1:TEXT:!pass*:#:{
%pass = $replace($read(pass.txt),(u),$nick)
msg $chan %pass
:set
set %turn.nick $nick(#,$r(1,$nick(#,0)))
if ( $nick == %turn.nick ) goto set
.timer 1 2 msg $chan %turn.nick Your Turn! Type !truth for truth or !dare for dare.
}
on 1:TEXT:!turn*:#:{
if ($2 ison $chan) {
msg $chan $2 Your Turn! Type !truth for truth or !dare for dare.
set %turn.nick $2
}
else {
msg $chan $nick $2 is not on $chan - Choose another nick.
}
}
#group1 end
on 1:TEXT:*!end-td*:#:{
.disable #group1
unset %turn.nick $2
msg $chan awww whats up to spicy for ya
.timer 1 2 msg $chan game is now over requested by $nick
$+(.timerexpire) off
}
alias expire {
.disable #group1
msg $1 Time up! The game has ended Type !start-td to start a new game
unset %turn.nick $2
}
You have to make two text files. Truth.txt and dare.txt
Since mIRC now uses the user directory for the base location for accessing files, I can't tell you the exact directory name where you need to put those files.
I can, however, tell you how you can determine where those files have to go.
You can determine that by opening mIRC, then typing in
//echo -a $qt($mircdir)
This will display to you the exact and full directory where the two text files have to go.
BTW: This information is posted at the very beginning of the Description by the author.
For a random nick, as well as including the option to specify a nick, this section
on 1:TEXT:!turn*:#:{
if ($2 ison $chan) {
msg $chan $2 Your Turn! Type !truth for truth or !dare for dare.
set %turn.nick $2
}
else {
msg $chan $nick $2 is not on $chan - Choose another nick.
}
}
could be re-written as
on 1:TEXT:!turn*:#:{
if !$2 {
while $istok($nick $me,%turn.nick,32) {
set %turn.nick $nick($chan,$r(1,$nick($chan,0)))
}
}
else {
if ($2 ison $chan) {
msg $chan $2 Your Turn! Type !truth for truth or !dare for dare.
set %turn.nick $2
}
else {
msg $chan $nick $2 is not on $chan - Choose another nick.
}
}
}
BTW: It's !turn not !nick to pick the next player/victim
With the way the script is written, a command has to be entered for a new player/victim to be chosen, rather than it being done automatically after a response.
this game was working for me great before, but then it stopped working. every time someone type the command to start it, it shows this in my mIRC \"Status\" window:
~
GUBLE Unknown command
~
GUBLE Unknown command
~
3-4[ Unknown command
~
(Guble is the nick that tried starting the command).
Anyone know why this happened?