Aeron Posted July 18, 2006 Posted July 18, 2006 on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } }
Hedning Posted July 18, 2006 Posted July 18, 2006 on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } } tx så if i wnat to add like haha it would be on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } elseif (haha isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,hoho!,3,something!,4,hehe) } }
lil Toady Posted July 18, 2006 Posted July 18, 2006 yes, you can't have few same SIGNALS in 1 script, cause it won't work
CoZ Posted July 18, 2006 Posted July 18, 2006 tx lil Toady works great!coz: Dont work, when i die i get "HAHA you suck mta.nick($1,$2)" woops .. scripting at 4 in the night mta.nick($1,$2) should be $mta.nick($1,$2)
Hedning Posted July 18, 2006 Posted July 18, 2006 Now i got the message haah you suck hedning BUT the message dont come right after, it comes after someone write something
lil Toady Posted July 18, 2006 Posted July 18, 2006 maybe you put it in a wrong place? must be: on *:SIGNAL:mta.death: { mta.text $1 HAHA you suck $mta.nick($1,$2) }
Hedning Posted July 18, 2006 Posted July 18, 2006 In the file it look like this on *:SIGNAL:mta.command: { if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, ! elseif (!Hello == $3) mta.text $1 Hello world! elseif (!Suck == $3) mta.text $1 You suck man! elseif (!Looser == $3) mta.text $1 Haha looser! elseif (!Lucky == $3) mta.text $1 Lucky bastard! elseif (!You == $3) mta.text $1 You can do it! elseif (!Dead == $3) mta.text $1 You are so dead! elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar! elseif (!Rille == $3) mta.text $1 Tar kort på killar! elseif (!Hedning == $3) mta.text $1 Da player! elseif (!fuck == $3) mta.text $1 OHHHH YEAH!! elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att göka med kuddar! elseif (/Fiddeman == $3) mta.text $1 Jag fidde gillar att göka med kuddar! } on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } on *:SIGNAL:mta.death: { mta.text $1 HAHA you suck $mta.nick($1,$2) } }
lil Toady Posted July 18, 2006 Posted July 18, 2006 change to this: on *:SIGNAL:mta.command: { if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, ! elseif (!Hello == $3) mta.text $1 Hello world! elseif (!Suck == $3) mta.text $1 You suck man! elseif (!Looser == $3) mta.text $1 Haha looser! elseif (!Lucky == $3) mta.text $1 Lucky bastard! elseif (!You == $3) mta.text $1 You can do it! elseif (!Dead == $3) mta.text $1 You are so dead! elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar! elseif (!Rille == $3) mta.text $1 Tar kort p? killar! elseif (!Hedning == $3) mta.text $1 Da player! elseif (! == $3) mta.text $1 OHHHH YEAH!! elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar! elseif (/Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar! } on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } } on *:SIGNAL:mta.death: { mta.text $1 HAHA you suck $mta.nick($1,$2) }
Sodisna Posted August 2, 2006 Posted August 2, 2006 Doesn't work. It won't connect. Server's up. I can connect in-game.
CoZ Posted August 2, 2006 Posted August 2, 2006 Still can't connect. in mtaserver.conf ? AdminServer 1 ? AdminPass Azu ?
Harry Posted August 2, 2006 Posted August 2, 2006 Please stay on topic. This topic is: Multi Theft Auto Forum Index -> General MTA -> Add-ons -> MTA:SA General Use Scripts | Final Version! It has nothing to do with connecting MTA:mA to a server. This problem is a FAQ. Please update your server version.
limpeh-behsi Posted August 16, 2006 Posted August 16, 2006 Erm.....I don't know where to put this, but it seems fit here. I wanted to know, is there anyway to make a Dynamic IP person to level 10 without getting the 'invalid IP match' error?? Thanks
Tommis Posted August 20, 2006 Author Posted August 20, 2006 Yes, Take out the mta.kick $1 $2 under "Invalid IP Match". Just search it in mtagus.mrc... Cya, Tommis
CoZ Posted August 21, 2006 Posted August 21, 2006 Yes, Take out the mta.kick $1 $2 under "Invalid IP Match". Just search it in mtagus.mrc... Cya, Tommis just one downside any noob can become admin by changing his nick
Zomah Posted August 23, 2006 Posted August 23, 2006 Does my PC have to be on 24/7 to run the scripts always..?
lil Toady Posted August 23, 2006 Posted August 23, 2006 Does my PC have to be on 24/7 to run the scripts always..? yes
eeliottheking Posted August 28, 2006 Posted August 28, 2006 hi i have a problem with the !setdeathlimit and i have read and i understand that u can only use the script when you are on that map, however, i always get the "No Map Found" message. what can i do?
CoZ Posted August 29, 2006 Posted August 29, 2006 nothing - if you dont want to cut back on the total maps youve got http://forum.mtavc.com/viewtopic.php?t=17513
eeliottheking Posted September 1, 2006 Posted September 1, 2006 k i have another problem, when ever it loads a map it displays the wrong information. this is a recent development. it has not done this the entire time ive had it, i tried re-installing gus and i still have the same problem. [12:35] * Startrace: Success to start race "loop crazy". [12:35] Kenji-death - Top Time: N/A - By: N/A - Deathlimit: None - Played: 1/2 times (50%)
eeliottheking Posted September 9, 2006 Posted September 9, 2006 sry to double post but i fixed the above problem. but i have another problem. how do u turn on max ping in GUS? and how do u set it?
lil Toady Posted September 9, 2006 Posted September 9, 2006 sry to double post but i fixed the above problem. but i have another problem.how do u turn on max ping in GUS? and how do u set it? !setping off
Recommended Posts