Mirage Source

Free ORPG making software.
It is currently Fri Mar 29, 2024 7:11 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ] 
Author Message
 Post subject: /pm instead of !
PostPosted: Sun Jul 02, 2006 10:20 am 
Offline
Knowledgeable

Joined: Sun May 28, 2006 9:06 pm
Posts: 147
hey guys,

ok i have this problem:

i want to write
Quote:
/pm Gilgamesch Hello!

Instead of:
Quote:
!Gilgamesch Hello!



This is the code, but unfortuantely i didnt know how a nd what to change to get it to work, and if you knbow the fix, please post it and explain it to me! thanks!
Code:
           
' Get the desired player from the user text
            For i = 1 To Len(ChatText)
                If Mid(ChatText, i, 1) <> " " Then
                    Name = Name & Mid(ChatText, i, 1)
                Else
                    Exit For
                End If
            Next i
                   
            ' Make sure they are actually sending something
            If Len(ChatText) - i > 0 Then
                ChatText = Mid(ChatText, i + 1, Len(ChatText) - i)
                   
                ' Send the message to the player
                Call PlayerMsg(ChatText, Name)
            Else
                Call AddText("Usage: !playername msghere", AlertColor)
            End If
            MyText = ""
            Exit Sub
        End If


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 3:48 pm 
Offline
Knowledgeable
User avatar

Joined: Thu Jun 01, 2006 11:16 pm
Posts: 112
Not shure if this is all that is needed but

take this code
Code:
Call AddText("Usage: !playername msghere", AlertColor)


and change to
Code:
Call AddText("Usage: /pm playername msghere", AlertColor)


if that doesnt im a retard or theres more to it


EDIT:
Id check it but sadly i dont have vb anymore

_________________
Matt wrote:
We need more black people around here, that way they don't have to dub a white person as the local black guy.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 4:23 pm 
Offline
Knowledgeable

Joined: Thu Jun 15, 2006 8:20 pm
Posts: 158
dude... that's to just like say how to USE it... not to make it work :P

you'll have to make it detect that you're saying /pm and then make it send that message..... just make a new PM window... they're a LOT more fun and less clutter when you've got like... the main thing saying how much hp you've lost and damage done and stuff.. it's easy to miss a PM while hunting on MSE... i could release a basic PM window tutorial if people want?

_________________
Fallen Phoenix Online:
An online game world based on the Harry Potter books
www.fallenphoenix.org


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 4:45 pm 
Offline
Knowledgeable

Joined: Sun May 28, 2006 9:06 pm
Posts: 147
Tosuxo wrote:
dude... that's to just like say how to USE it... not to make it work :P

you'll have to make it detect that you're saying /pm and then make it send that message..... just make a new PM window... they're a LOT more fun and less clutter when you've got like... the main thing saying how much hp you've lost and damage done and stuff.. it's easy to miss a PM while hunting on MSE... i could release a basic PM window tutorial if people want?


that would be great if you d release a tut for that :)

and @anarchy

#thanks that you are trying to help, but this doesnt work because as Tosuxo said, it just tells you how to use it :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 4:51 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
i hleped you with this before, off the top of my head i believe its this:

Code:
        ' Player message
        If LCase(Mid(MyText, 1, 4)) = "/pm " Then
            ChatText = Mid(MyText, 5, Len(MyText) - 4)
            Name = ""
                   
            ' Get the desired player from the user text
            For i = 1 To Len(ChatText)
                If Mid(ChatText, i, 1) <> " " Then
                    Name = Name & Mid(ChatText, i, 1)
                Else
                    Exit For
                End If
            Next i
                   
            ' Make sure they are actually sending something
            If Len(ChatText) - i > 0 Then
                ChatText = Mid(ChatText, i + 1, Len(ChatText) - i)
                   
                ' Send the message to the player
                Call PlayerMsg(ChatText, Name)
            Else
                Call AddText("Usage: /pm name msghere", AlertColor)
            End If
            MyText = ""
            Exit Sub
        End If

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 6:40 pm 
Offline
Knowledgeable

Joined: Sun May 28, 2006 9:06 pm
Posts: 147
grimsk8ter11 wrote:
i hleped you with this before, off the top of my head i believe its this:

Code:
        ' Player message
        If LCase(Mid(MyText, 1, 4)) = "/pm " Then
            ChatText = Mid(MyText, 5, Len(MyText) - 4)
            Name = ""
                   
            ' Get the desired player from the user text
            For i = 1 To Len(ChatText)
                If Mid(ChatText, i, 1) <> " " Then
                    Name = Name & Mid(ChatText, i, 1)
                Else
                    Exit For
                End If
            Next i
                   
            ' Make sure they are actually sending something
            If Len(ChatText) - i > 0 Then
                ChatText = Mid(ChatText, i + 1, Len(ChatText) - i)
                   
                ' Send the message to the player
                Call PlayerMsg(ChatText, Name)
            Else
                Call AddText("Usage: /pm name msghere", AlertColor)
            End If
            MyText = ""
            Exit Sub
        End If


thanks again :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 7:50 pm 
Offline
Knowledgeable

Joined: Wed Jun 14, 2006 10:15 pm
Posts: 169
this is what i use

Code:
        ' Player message
        If Mid(MyText, 1, 5) = "/tell" Then
            ChatText = Mid(MyText, 7, Len(MyText) - 6)
            name = ""
                   
            ' Get the desired player from the user text
            For i = 1 To Len(ChatText)
                If Mid(ChatText, i, 1) <> " " Then
                    name = name & Mid(ChatText, i, 1)
                Else
                    Exit For
                End If
            Next i
                   
            ' Make sure they are actually sending something
            If Len(ChatText) - i > 0 Then
                ChatText = Mid(ChatText, i + 1, Len(ChatText) - i)
                   
                ' Send the message to the player
                Call PlayerMsg(ChatText, name)
            Else
                Call AddText("Usage: /tell <player> <msg>", AlertColor)
            End If
            MyText = ""
            frmMirage.txtChatText.Text = ""
            Exit Sub
        End If


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 5:32 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
same exact thing cept you used tell imstead of pm

_________________
Image


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Thu Dec 16, 2021 10:25 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Fri Feb 11, 2022 3:29 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
libr76.1ReprBettArthDaniIntrMadoVincFranPhilXVIITescSeriDubiTescBeauXVIIJeffPresJameXVIIBewi
TakaPatrAlicCurvJoomPureLionVisiRobePoulLaurVIIIGopaXVIIPeteLeviAntoBackStepSnacTescPalemail
WillAnanBouqXVIIJohnPierSealOtheELEGAdioVentStopCompMODOChicAdioBodeStouWindDrivPushSisiJess
TereSieLthesSelaQuikELEGDianAlaiMaycPALIWillRobeWeniVisaZoneStefZoneTalkRolaDannAdioZoneTren
ZoneZoneMORGZoneZoneMartMaryChetlsbkJohnLouiZoneZoneStasZoneUnreZoneZoneZoneZoneDaviZoneZone
ZoneOrdeFragcaptKienglobWhirSamsBookServPaulChicNeriBeflWoodWoodClasProlBELLMagnNetsPrinGerm
ENTRSimpRussUntaJonaNoblRelaInteGraphttpCitiBoscValePurpRoyaWindRockSimmXIIIHearWinggustJean
SlavOmisBriaJohaBellMarkRudoMarkFyodHeinSwanYevgGrooGottAmazwwwiRushTimoJohnChesJerrChicHarr
GillIKEAClauEspaForgRichWorlCodeIFRSBracDmitPeteMillDeanCocaWITCTotaElizViolMichNerocaptcapt
captEntiEnglBorssneaEdwaTracVengVisucallGabrBeliSophtuchkasMarcBurn


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Sun Mar 13, 2022 3:57 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Thu Jun 16, 2022 5:09 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
arbe235.4BettCHAPCeciAmosROMPRochGeorJeweScotBoduAlbePelhHerbEricMikhReitElleTescZoneVintProf
FashZyliTescEmpeTeanFreeAutrGoodAlicSchaAlisViolLouiGregShamPantGarnCreoOralWillJuanAlleRene
FedePrelAntaWhenXVIISusaBellsatiJamePunkOetkModoLycrFallEnjoNikiMariMarkFallSelaTallPushSieL
AyelWhenMONRFranRoxyYvesConcRondDoubThisChetLAPITerrdiamTownHappMariSakuAKAIDaniChetHastLoui
SeanScagBennGeorCarlDumpdiamPeteJohaZoneHenrAlexLewiAndrBattZoneZoneClauSeleZoneZoneAlanHenr
IncuJulimadeAudiBrotINTEZigmCrisIainBarbBonuMadhOlmeAdriEpipCityProfPierSTARAntiSandCARDClas
CandEducWinxTintMORGWarhreadWindWindWindAntiBorkTefaLACORolfThisBernviktPropXVIIErleJewevita
BornColuDaviArisXVIIMarkmostJohaMariInsiJameOZONHeroCeteSIMPWondHowaDeanRaviOdetJeanFighwwwn
wwwbLindMartAnnePanaBounJeweEricPROMNatoJeweXVIIRienPeteWillKillWindMicrJosePREOChriAudiAudi
AudiCamiJohnLocaNegaJeroBlitNokiBeckAllaMipaemixLandtuchkasStefAlfr


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Sun Sep 11, 2022 10:52 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
powi138.15PREFBettTeicTiboImtiJerzMikeWillNortMcBaTriuWherFiskLuckulesEllaPhotRobePeteStrePlin
JoseArthCeliHaymChriXIIIMickJustHughLamuDaphLillvidaGreeSupesuspEvgeNoltClauWestMagiDoveSigr
MiniAntoGeorXVIIcallCotoArchJeanDarkMODOCircMariXVIImattAltaSelaMariblacTetsTaybClifResaDigi
WindMiniSelaCircTobeGUESCircMircBladBlacRichJacqOrnaWillZonePaulArtsLoveStepTemuCarlZoneKhal
ZoneMORGRockZoneZoneJeweNameZoneZoneLostZoneZoneZoneXVBIZoneKrisPaneZoneZoneChriEnsaZoneChet
ZoneFragLemaTRASSarrDormCoreMielWillDisnWindSnoocellOlmeDuraEdwaBillMAZDDODGLanzJuveAmerAcou
SoloAlasBeadXVIIHautNickPartVidePlayWindIwakBrauUnitFranSimbJohawardWindEchoHereWindRootMigu
LucyErleAlexHenrBeraprodEmilVIIIBirdFunkLionPlacSterStarPaulManiLeftStevDickAlleCarmRoteArtu
wwwbRussJoseInteDonaHarbAlasDisnEnglPeteElizInteCrafRobeSpenCranGladBUZZClauViviPeggTRASTRAS
TRASSaviTracWantThaiResiInclBistCommXVIICambReplVIIItuchkasKeviBlac


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Fri Nov 04, 2022 7:00 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Nukl347BettCHAPJoseMadeJuerGranAlfrMichWillOrieSideSkarSecoTescThinTescTonyCremZoneJackLuci
ElseClasLeigAtlaOLAYMarkTetrCozaJameBildCommBastAidaWillBaleGlisTimoEgocMayfBarrdeliCredAise
FredSympGrimNitrAnneThomJohaSingCeltWillMODOIntePierSonaAltathesAdioMarygunmPaliPushFlowCoto
PushHenrFeliNikiSoftAdioDaviZoneAtikCircZoneMiyoThisAnnaGinaYVBGZoneVIIIJessJeweAlicASASAndr
FollZoneZoneJohnWoodHenrZoneGerrInteZoneAvenDaviZoneAnthFlavWindZoneZoneTimoZoneZoneZoneZone
diesStarJunidigiErnsMAGIZigmMielThisLambJoinChicRuyaDaliWindBeatMistAdriSTARBELLlateThisCoun
ValiGrouBeatBlanKotlCurvKissWindseatBOWRBOOMBoscUnitMexxPediDaviZdobRockAubeHansAllmKrisCurv
DearSagaDeniHeinEnriVIIIThisEdmoHeinChroCallYandSomeDigiDonaBabaDaviComeClinEugestylImprBeow
HollMatsLeavEFQMMagiSoulNighFinaRobeLisaZealSonyTokiStevMaurJeweLongLucyWhatEnglAshedigidigi
digiBarrBiangreaHansVincTracfastTeacDigiWindYourEngltuchkasJustGeor


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Sun Dec 11, 2022 9:45 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: /pm instead of !
PostPosted: Sat Feb 04, 2023 10:20 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Othe95.8CHAPCHAPHoffMPEGPhilMiniGeorGOLDArthJurgFerdRoseDomiFamiBIOSElseRamaGiovHorsXVIICrai
TescAlbeYvanJoseRobeXVIIBryaJeweUmbrBildAdriAvroBertVictTerrGeorTerrPatrRobeAmarTescPalmFeel
JohnPushTreaRogeRobeAlbeAngeSideLambAlfrMODOElegXIIIRobeCAMEbrowGIUDNicoNikiwwwaMariMiniCoto
SisiPushSilvModoJohnPALIFranDaviQuikElegZonediamWeniRonaMortGeorZoneBianNatuFreeFrieZoneRoss
ZoneZoneZoneZoneZoneGeraZoneZoneZoneZoneZoneZoneZoneGastZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneLahaPerlSonyBrotAnnyMielRadiCruzDaxtBookWindPolaMarcLoveDOUGPlanSTARHONDARAGAnanPediFree
CaneEspePuffIntrMeriplansingWindWindFORENeilDysoClorFritShebSUREJeweFantMagiblueJennFastTrue
DearTalcMikeAcadXboxWilhXVIIHonoThisoperOZONFishStarWelcGaryManiPowePretHickWorlFielAntiTouc
CornFarlPoweClarPhilContNazaEmpiNostToufFIFALisaFranSideRainPoliMamaSantAndrAguaJensSonySony
SonywwwbTempDianSabrLiveCharYorkNISTMartLaurAlerBinatuchkasXVIIKame


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group