Jump to content

!quote


Silent

Recommended Posts

I have something like this for tips in PartyServer but it's more complicated looking. Oli made it some time ago

just switch tip with quote... it also has a join message to let them know that the tips exist... that's a join.txt file

on *:SIGNAL:mta.command:{
 var %a = $iif($4 == $null,$2,$mta.findid($1,$4))
 if $3 == !tip {
   if %a == -1 mta.msg $1 $2 Error - Invalid ID.
   elseif $mta.name($1,%a) == unknown mta.msg $1 $2 Error - Invalid ID.
   else mta.msg $1 %a $read($scriptdirtips.txt,$rand(1,$lines($scriptdirtips.txt)))
 }
}
on *:SIGNAL:mta.join:{
 mta.msg $1 $2 $read($scriptdirjoin.txt,$rand(1,$lines($scriptdirjoin.txt)))
}

maybe better or worse.. dunno but it works.

Link to comment
  • Recently Browsing   0 members

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