Jani Posted February 10, 2005 Posted February 10, 2005 isin searches for that exact string in the name, whereas iswm is a wildcard. doesnt that mean the same thing? Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
Oli Posted February 10, 2005 Posted February 10, 2005 if hello isin $1- This means if the string "hello" is in the whole sentence. if hello* iswm $1- this means if the sentence STARTS with "hello" Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
Jani Posted February 11, 2005 Posted February 11, 2005 so basically the first one is better then Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
Oli Posted February 11, 2005 Posted February 11, 2005 depends what u want... for example, if u want something to be in the form of an IP adress... u could use: if *.*.*.* iswm $1- u cant do that as easily with isin Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
Jani Posted February 11, 2005 Posted February 11, 2005 on *:SIGNAL:mta.join:{ if MTAPlayer* iswm $1- mta.kick $1 $2 } ja? i fucking hate those nubs who dont change their name before they play. Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
Mike Posted February 11, 2005 Posted February 11, 2005 on *:SIGNAL:mta.join:{ if (MTAPlayer == $2) { mta.kick $1 $2 } } That would be better
Niels Posted February 11, 2005 Posted February 11, 2005 on *:SIGNAL:mta.join:{ if (MTAPlayer == $2) { mta.kick $1 $2 } } That would be better if (MTAPlayer == $mta.name($1,$2)) { mta.kick $1 $2 } } OMG!
Aeron Posted February 11, 2005 Posted February 11, 2005 Yep, of course OMFG Niels pwned Mike with mIRC scripting!!!1!!1 /me dies "Never argue with an idiot. They bring you down to their level and beat you with experience." "Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."
*SmartiE* Posted February 11, 2005 Posted February 11, 2005 WOW niels is on a Roll Now Beating Mike at IRC script
Mike Posted February 11, 2005 Posted February 11, 2005 Here's a nice (cpu hungry) script to whisper to people near you. alias whisper.distance { var %x,%y,%z %x = $abs($calc($1 - $2)) %y = $abs($calc($3 - $4)) %z = $abs($calc($5 - $6)) !return $round($sqrt($calc(%x * %x + %y * %y + %z * %z)),2) } on *:SIGNAL:mta.pm:{ if ($3 == whisper) { if ($mta.admin+($1) == $true) { var %a = 0 unset %b while %a < $mta.maxplayers($1) { if (($whisper.distance($mta.location($1,$2,x),$mta.location($1,%a,x),$mta.location($1,$2,y),$mta.location($1,%a,y),$mta.location($1,$2,z),$mta.location($1,%a,z)) <= %whisper) && (%a != $2) && ($mta.name($1,%a) != Unknown)) { mta.msg $1 %a Whisper from $mta.name($1,$2) $+ : $4- %b = $iif($chr(44) !isin %b,$mta.name($1,%a),%b $+ $chr(44) $chr(32) $mta.name($1,%a)) } !inc %a } mta.msg $1 $2 Message delivered to $iif(%b,%b,no-one) unset %a unset %b } } } Use "/msg whisper "
XcR Posted February 11, 2005 Posted February 11, 2005 ive seen DJMills script, and he has the same idea except its for the distance between your charachter and a cop and u become wanted, its a cool feature.
Gareth Posted February 11, 2005 Posted February 11, 2005 yeh in Millsy's script he has the !rob command yoke too which robs the robber nearest to you
Scorp Posted February 13, 2005 Posted February 13, 2005 It's a script that messages people within 50 m (or was it feet?) Think of it as a yell the player makes, it's only heard in a 50 m radius. I think it's pretty kool script. Retired Dodo Killer.
Harry Posted February 14, 2005 Posted February 14, 2005 -not mtama scripting anymore- Guys, no offence, but this tpoic is huge allready... with all this offtopic crap it wont be of ANY use anymore Ergo: CUT THE CRAP! To any mod: lock the thread and start a fresh, moderated one
Slothman Posted February 14, 2005 Posted February 14, 2005 cleaned up, keep yer noses clean from here on you crazy scripters Check out my recent work: ZDay - a zombie script Slothbot - an AI deathmatch bot my community profile (all my resources)
MAD_BOY Posted February 14, 2005 Posted February 14, 2005 it's not cleaned up at all =/ unstickied and locked, please make a new thread as you said @other mods: DON'T MOVE THIS TO TRASH Official B.L.A.S.T.Addict [VCP] forever
Recommended Posts