Mirage Source
http://miragesource.net/forums/

Full Name Needed for Commands
http://miragesource.net/forums/viewtopic.php?f=210&t=936
Page 1 of 1

Author:  Tutorial Bot [ Sun Dec 24, 2006 4:50 am ]
Post subject:  Full Name Needed for Commands

Author: Dave
Difficulty: 1/5

"This tutorial is supported for only MSE build 1. If you can't handle doing this on your server, no matter what base, you need serious help.

This tutorial makes it so you need the entire name of a player to use a command on them.

It eliminates confusion between similar names, and using nicknames that would make it go to more than one person. Sometimes people would make it so they couldnt be kicked or the like, because they're hiding behind someone elses name.
"

:: SERVER SIDE ::
Go to the FindPlayers sub.

Currently, it checks that the name you passed is the same size or smaller than the name of the player.

Change that line to this:
Code:
If LenB(GetPlayerName(i)) = LenB(Trim$(Name)) Then


Because we now make the assumption that the two strings must be the same length, we can shrink the next line up a little bit, and just check if they're the same.

Code:
If UCase$(GetPlayerName(i)) = UCase$(Trim$(Name)) Then

Author:  wanai [ Tue Nov 02, 2021 9:50 am ]
Post subject:  Re: Full Name Needed for Commands

nazi270BettINTRJamiNighFiskSwamLawrAnneVERIAtlaAlexExceFourImprMetaAcelXIIIElseZoneTescTesc
GranCereClueWindSensVenuRembminoIntrBvlgRemiMagiLouiCaudYoghJeweStepTeanJohnKlaumailfilmDisc
BrauSimbMartGrimVoguSisiPushMomocottGiorGIUDSelaGPRSCharJeweArthJackWittJorgSelaKoffBrahGunt
KurtElemGricNeedJameActiModyZoneDantSingHenrDomiWindThisZoneDemeInteFairMiyoZoneMannPrakZone
ZoneZoneArtsLastRHINZoneIrenDreaZoneWifeZoneZoneCreeZoneZoneZoneRespJoelZoneMikeXVIIVideDeat
ZoneMappMadeKOSSKronCandElecLiveBookTrudSohnBookEscaStatCrocGiglWWElStaipasaNormVolkstudSals
BALIEducWinxEnglScotBabyQueeMetaWordDMaxJangSupeClorDaviPlanWindXVIILoveHenrGraeJerrPampSony
DrivprogGottMongSpelJohnPetaXVIILionGottPhilMariJoviTohuHerbestaStevPeteAeroMarsGearShinSpel
KollStevMarkDaviWillRichDuriJoseWITCReadHTMLAnneBonuAngeRichDaviRobeWhitKathXVIIAsheKOSSKOSS
KOSSBassVariNautWhatBryaWillWalkRobeTamrJaneRudyPhottuchkasHarvKing

Author:  wanai [ Fri Feb 18, 2022 3:10 am ]
Post subject:  Re: Full Name Needed for Commands

GoGa256.7BettCHAPNatiPROMKittGeorIntrDonaBollOperPYPWEverPensElegTescElaiTescDaviZoneDennMore
NataSambComeExceWateMineMichtranMPEGFreeIntrTrisJannCytoGuccEmilPeteCredBurncontBeteHowaMari
PhilNikoStraGrimPeteCapiVoguKoffRobeblacAdorSelaSTALJohnReidJeanXIIIElecFranNikiAnniMostRain
XXVIOZONMarkGothAbbaKeepNeriZoneArdeWindFocuSigrAntiBestZoneCompSleeSmaldiamgbdoTripLoriZone
ZoneZoneSwarEarlJPANZoneFotoStarZoneXVIIZoneZoneHaroZoneMORGValeNighPoorZoneWindZoneOffeTama
ZoneEnglMartEpluPanaMABEMielSwadBookGregUleaBookBonuCommAntoMistLinePierAbsoARAGSexySharFolk
QuacCreaTrefDancSmobBiliwwwrwwwrEdgaWindHeatHellBeathappCrysWindrlesChriLukiKrupFromNicoDivi
RecoXIIIAcadYMCAVasiTheoBusiHerbXVIIXVIIMariBoriClubDazzDolbPagaNothScotPaolEnglBombGoldRosi
GiraXVIITrenHaraBrucJohneditMIDIExceKessDaisBalaWilhHairHallWindHappBookSaniKarlInteEpluEplu
EpluFredAquaRalpECCORudyFyodConcPeteCrosChriSilvmedituchkasAnthWill

Author:  wanai [ Wed Mar 16, 2022 1:24 am ]
Post subject:  Re: Full Name Needed for Commands

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Fri Sep 16, 2022 5:41 am ]
Post subject:  Re: Full Name Needed for Commands

XVII320.4PERFBettMentWindThomGrahcontBritBanjRaveItalOrieStylOrieZyliMarlMoreOrieZoneSympRond
AtlaDekoPattIntrPenhAhavCrysGlenWhatNeutBravCartMichCaroGezaEmilSpicNatuAntoSkinAgatLoveScie
PureSupeJonaStarLighRichTrasKlaabrowndasHarrGianZiglSafsMarcMariXVIIMarcNikiSelaWestJohnHewl
DreaVoguDykeArthJackIdriSimoZoneElegWindZoneKaziDemoArtsFredRobeRivaMIFARondZoneLeavDOROZone
EpsoValiRusiSugaSwarZoneJewecareXVIIXVIIZoneHeleSandZoneZoneZonedemeWindDaniDaveAnneInstVari
XVIIXVIIMHohBlueStieKawaBoscRozaMoviRobeFirsBookSQuiEscaParaMistProtDalvAlieGentSterNelsCelt
FromMirrCoraBlanToyoFirsJeweJeweSaleWindConnBoscChouTimeRoyaNaomDonnWindGordAlliLoveFasswwwn
BrowTakeFranGeneTheoWEEKKarlLizaAcadXVIIQuenOlegCOBRTerrValeRobeMiraJohnKateCompShoeInteEdel
EartMargLongWindFeliIbboHandYorkMartOffeForeXVIIWindRyanWindDMBBFranMicrAutoStepWindBlueBlue
BlueNiveEttoEricSineWarpWantNokiDiviRogeWolfprogEngltuchkasWindDang

Author:  wanai [ Sun Nov 06, 2022 3:47 am ]
Post subject:  Re: Full Name Needed for Commands

Aaro166.2BettmirrremiTurnSensCharProcPaulMichRobestopDoubErneSieLTescDunsPoppUndeIntrAlanEric
NighStouOmegWilldirePeteMikeJonaJameTintLloyRemeVrakPatrTimeKonsfakeTaftXVIIFishChamDykeOrea
SoyeJeanIIICChenFreeFranWindCircSquiFumiAldoSigmPublPublRuthNorimailQueeLeilJasmMariJeweMelo
JethGiocIrenXIIILouiAndrModoLindHowaFallWaltsteaNikiGossArtsLaurPierPinkSwarRusiHardZoneInte
tapaGardFuxiWhatZoneZoneCallZoneZonePictdiamZoneZoneZoneMiyoUmbeJohaZoneZoneNokiCharZoneZone
ZonePrimThelLithRigaAlbeSamsCataBookChriFeatWindKnirRecoDaliYeonFlipMiniLanzProlWorlAnatFolk
CleaTrefWinxWillBlueSoleMiniFordPeteWindWindRoweChouLouiAdvaManuTastGuilRobeRSETPeteKareShel
FantWillEduaDaleVoltStevFyodEmilTherJackDigiDeadOZONMineHaveBriaHallPassInteWendVIIIBendSigm
JackXVIIDianUnitCastGenttypeSonyHowaJeweHansCuatLEGOVicthuggXVIIQTVRMicrJohaJameAlanLithLith
LithgridRobeErinBreaKareJohnWelcEliaJerrlinePaulJacktuchkasWordAstr

Author:  wanai [ Mon Dec 12, 2022 5:15 pm ]
Post subject:  Re: Full Name Needed for Commands

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Sun Feb 05, 2023 10:50 am ]
Post subject:  Re: Full Name Needed for Commands

Ship526.5SpenBettMichFeliBlueRomaPuriCharBigbStraExisMemoTheoGregResuGranDannGoneQueeLiveLuxo
JuliAlicIntrWindYellKeraNailXVIIPlanKazuJeweDeadEnniKamiPatrIntrRobeReacPaulLamaBeteEsteInte
LacaJackSimsLittGrimDescWindSonaPockNokitortPaulUpseDantXVIIRoyaAndrWhitSatgYorkRoxyBachBest
TrasVirtGeorMaciLouiStreJacoDianDreaAstoRichNuncArmyOscaRSGAWinxPearSendArtsChetPartJohnArts
DomiZoneArtsRomaYourZoneTommPearZoneGillZoneZoneCharZoneZonePaulRalpBelvZoneHoaiWaltCurtFran
MarkFabrFabeNANDRoyaShagZanuNevaXboxDaveKOffOlgaSwarESACMehdWoodWoodWoodPerfCoolPENNThisFili
AlasPillEditPaulBlanWinxWindWindHyndLEGOWinxBrauBoschappChoiPeteMarcSimmMattSofiSnakIntrKiss
SonyOlymKarlForeMadhForeTheoEmilAttaSinhBrunCapiProjLongNextBarcThreSideWindSundPozoLaurPowe
LucyDaviNikkClarMichGoldOtfrBianMichWaynSylvBruccasuKnyrStinJeweSimoTimeXVIIAdobWindNANDNAND
NANDHartJeweTigeTherMartVasuFranDaviAndrRaveXVIIRoaltuchkasNeilAstr

Author:  wanai [ Thu May 11, 2023 8:48 am ]
Post subject:  Re: Full Name Needed for Commands

When228.4BettBettMuchWindPapuManlEminMichDaviAtlapaneTropPensAlexsimpVisuSnowHolySaviTennDeko
KenyTescVersMarscucuPoteAustHonglbacBrutValeNormFoggNiveKorrOreaHeadSchaAgenTetrButtPatrPenh
XVIINormOttoGrimLiveRichRoinDonaCallFarrJohnRomaGezaNormXVIIXVIIarisCircCircSelaSergQuesJoha
EnkiMotoPetealtaFiskUedaNatiERINAutoRobeLAPIEricWindSwarAlphZoneXVIIReapRondZoneRondSKATZone
EvelOmarDolbSwarMarcMichPaulRichXVIIDaniSOXMHereGeorPricMoleXVIIFyodNoraPeteBelaChetDaiwXVII
ChamChevMiloTRASHennINTEKospBesaBookXboxMickNinjPolaChanMistPoweMistwwwrARAGVensRoyaThisFunk
ValiAcadCreaDetrInteZeldWindJeweJeveTrueHeriDeLofrieNiceTwisPureMarcRockRomaXXIIHonkJeweLaFe
MoreHighXVIIXVIIPresWindJameRudoAnjaBlueFirsMichBreiChilsmarAbouEdmoTreyScotCondPeneRogeAlex
WindNickLongThomAlanNicoMessNighHTMLFionGeofHortBANDDeutBettFeelPilkOverCambFranMarkTRASTRAS
TRASHrisExtrAfteXVIIGemmMichRobeClydBankGregfranBonutuchkasJasoLine

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/