Guest Posted January 12, 2005 Posted January 12, 2005 im semi - new to scripting for mta im trying to make a script that welcomes a person when he joins the server would it be on *:SIGNAL:mta.join:command { mta.msg $1 $2 Welcome to the server! }
Jani Posted January 12, 2005 Posted January 12, 2005 on *:SIGNAL:mta.join:{ mta.msg $1 $2 Welcome to the server! } mta.join and mta.command are triggered by different things, so you cant shove them both in the same event.
Guest Posted January 12, 2005 Posted January 12, 2005 thanks alot man edit one more question, how whould i make it msg the player when when he types a comannd like !command on *:SIGNAL:mta.command:{ i know it involes using this event
MeanpantheR Posted January 12, 2005 Posted January 12, 2005 on *:SIGNAL:mta.command:{ if ($3 == !command) { mta.say $1 Hammy Cheese } elseif ($3 == !command2) { mta.say $1 more cheese } }
Guest Posted January 12, 2005 Posted January 12, 2005 i ran into a bit of a problem, it works but it says the message twice, anyone know why this would happen?
[FMJ]chode Posted January 12, 2005 Posted January 12, 2005 could have the script loaded twice, click "reload" rather than "load" ps: !command
[FMJ]chode Posted January 12, 2005 Posted January 12, 2005 well i just wanted to !command without spamming...
Guest Posted January 12, 2005 Posted January 12, 2005 hrmm after i reloaded the script and reconnected to the server it worked thanks again
Recommended Posts