Jump to content

umm help with !joke


eeliottheking

Recommended Posts

Posted

i really have no ide what i am doing, but im trying to make a script so that when someone types !joke it will display a random joke out of a text file called joke.txt i suck ok and this is what i have, so please tell me whats wrong with it.

on *:SIGNAL:mta.command: {
alias joke.rules if ($3 == !joke) mta.text $1 $read($scriptdir $+ joke.txt,$rand(0,$lines($scriptdir $+ joke.txt)))
}

:note: the only thing i have read is other scripts located in the add on section that could possibly help me wth this.

Posted
on *:SIGNAL:mta.command: {
 if ($3 == !joke) mta.text $1 $read($scriptdir $+ joke.txt,$rand(0,$lines($scriptdir $+ joke.txt)))
 }
}

Do not PM me, im not going to read it anyway.

Posted

It works for him.. if it doesnt work for you, you're doing something wrong...

what's your mirc version btw?

Do not PM me, im not going to read it anyway.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...