>Trigger Problem< Please Read/Help

P

Panasonic

Guest
Alright, First Things First : RoC Only!

Code:
My Own Admin Csay Command
    Events
        Player - Player 1 (Red) types a chat message containing   as A substring
        Player - Player 2 (Blue) types a chat message containing Admin Csay as A substring
        Player - Player 3 (Teal) types a chat message containing Admin Csay as A substring
        Player - Player 4 (Purple) types a chat message containing Admin Csay as A substring
        Player - Player 5 (Yellow) types a chat message containing Admin Csay as A substring
        Player - Player 6 (Orange) types a chat message containing Admin Csay as A substring
        Player - Player 9 (Gray) types a chat message containing Admin Csay as A substring
        Player - Player 10 (Light Blue) types a chat message containing Admin Csay as A substring
        Player - Player 11 (Dark Green) types a chat message containing Admin Csay as A substring
        Player - Player 12 (Brown) types a chat message containing Admin Csay as A substring
        Player - Player 8 (Pink) types a chat message containing Admin Csay as A substring
    Conditions
        (Name of (Triggering player)) Equal to Imalazybiznatch
        (Name of (Triggering player)) Equal to WorldEdit
        (Name of (Triggering player)) Equal to World Edit
        (Name of (Triggering player)) Equal to LotR
    Actions
        [COLOR="Red"]If ((Substring((Entered chat string), 7, 8)) Equal to 1) then do (Game - Display to (All players) for 5.00 seconds the text: (Entered chat string)) else do (Do nothing)[/COLOR]

This Is My Trigger First Of All....

what im trying to do is basically make a trigger that when i say Admin Csay and then the text, itll post the text to Everyboby in the game like a message basically, but itll be from me :) so i dont have to change to chat All or Chat Allies, lol but also to give me more authority :) cuz i have a kick trigger too...

but well this trigger isnt working at all.. please help me.. remember.. RoC

I want it to be like Admin Csay Blah Blah Blah

Then A message will pop up for everyone, saying just Blah Blah Blah, not the admin csay thing plz :D :D :D PLEASE HELP and thank u in advance
 

Tinesthia

New Member
Reaction score
3
Code:
Conditions -
        (Name of (Triggering player)) Equal to Imalazybiznatch
        (Name of (Triggering player)) Equal to WorldEdit
        (Name of (Triggering player)) Equal to World Edit
        (Name of (Triggering player)) Equal to LotR

Here is one problem. When you set multiple conditions, and do not specify an "Or", from what I've seen it automatically picks "and".

I think the first step to take is...
Code:
Conditions
    ((Name of (Triggering player)) Equal to Imabiznatch) or (((Name of (Triggering player)) Equal to WorldEdit) or (((Name of (Triggering player)) Equal to World Edit) or ((Name of (Triggering player)) Equal to LotR)))

Correct me if I'm wrong. Otherwise try it. Still RoC Compatible if you don't use "Or - Multiple conditions"

Edit: Spelling
 
S

Sunny_D

Guest
Admin Csay

and, your if-conditon will also never be true! why equal to 1? try instead:

Actions
If ((Substring((Entered chat string), 1, 10)) Equal to "Admin Csay") then do (Game - Display to (All players) for 5.00 seconds the text: (Entered chat string)) else do (Do nothing)
[/CODE]
 

Tinesthia

New Member
Reaction score
3
Okay, I tested, and the following works. Didn't include events because your events are fine.
Code:
    Conditions
        ((Name of (Triggering player)) Equal to Imabiznatch) or (((Name of (Triggering player)) Equal to WorldEdit) or (((Name of (Triggering player)) Equal to World Edit) or ((Name of (Triggering player)) Equal to LotR)))
        (Substring((Entered chat string), 1, 11)) Equal to "Admin Csay "
    Actions
        Game - Display to (All players) for 5.00 seconds the text: (Substring((Entered chat string), 12, 40))
 
P

Panasonic

Guest
:(

Code:
My Own Admin Csay Command
    Events
        Player - Player 1 (Red) types a chat message containing Admin Csay as A substring
        Player - Player 2 (Blue) types a chat message containing Admin Csay as A substring
        Player - Player 3 (Teal) types a chat message containing Admin Csay as A substring
        Player - Player 4 (Purple) types a chat message containing Admin Csay as A substring
        Player - Player 5 (Yellow) types a chat message containing Admin Csay as A substring
        Player - Player 6 (Orange) types a chat message containing Admin Csay as A substring
        Player - Player 9 (Gray) types a chat message containing Admin Csay as A substring
        Player - Player 10 (Light Blue) types a chat message containing Admin Csay as A substring
        Player - Player 11 (Dark Green) types a chat message containing Admin Csay as A substring
        Player - Player 12 (Brown) types a chat message containing Admin Csay as A substring
        Player - Player 8 (Pink) types a chat message containing Admin Csay as A substring
    Conditions
        ((Name of (Triggering player)) Equal to Imalazybiznatch) or (((Name of (Triggering player)) Equal to LotR) or ((Name of (Triggering player)) Equal to WorldEdit))
    Actions
        If ((Substring((Entered chat string), 7, 8)) Equal to Admin Csay) then do (Game - Display to (All players) for 5.00 seconds the text: (Entered chat string)) else do (Do nothing)

Doesn't Work...:(

any other things u see wrong or .. what?

i type Admin Csay "what ever i want" Suck as : Admin Csay Hi

and it only says it in the original text thing as Admin Csay Hi lol :banghead:

Code:
My Own Admin Csay Command
    Events
        Player - Player 1 (Red) types a chat message containing Admin Csay as A substring
        Player - Player 2 (Blue) types a chat message containing Admin Csay as A substring
        Player - Player 3 (Teal) types a chat message containing Admin Csay as A substring
        Player - Player 4 (Purple) types a chat message containing Admin Csay as A substring
        Player - Player 5 (Yellow) types a chat message containing Admin Csay as A substring
        Player - Player 6 (Orange) types a chat message containing Admin Csay as A substring
        Player - Player 9 (Gray) types a chat message containing Admin Csay as A substring
        Player - Player 10 (Light Blue) types a chat message containing Admin Csay as A substring
        Player - Player 11 (Dark Green) types a chat message containing Admin Csay as A substring
        Player - Player 12 (Brown) types a chat message containing Admin Csay as A substring
        Player - Player 8 (Pink) types a chat message containing Admin Csay as A substring
    Conditions
        ((Name of (Triggering player)) Equal to Imalazybiznatch) or (((Name of (Triggering player)) Equal to LotR) or ((Name of (Triggering player)) Equal to WorldEdit))
        (Substring((Entered chat string), 1, 11)) Equal to Admin Csay
    Actions
        Game - Display to (All players) for 5.00 seconds the text: (Substring((Entered chat string), 12, 40))
 
P

Panasonic

Guest
Okay, I tested, and the following works. Didn't include events because your events are fine.
Code:
    Conditions
        ((Name of (Triggering player)) Equal to Imabiznatch) or (((Name of (Triggering player)) Equal to WorldEdit) or (((Name of (Triggering player)) Equal to World Edit) or ((Name of (Triggering player)) Equal to LotR)))
        (Substring((Entered chat string), 1, 11)) Equal to "Admin Csay "
    Actions
        Game - Display to (All players) for 5.00 seconds the text: (Substring((Entered chat string), 12, 40))

R u sure it worked??? i tried ur thing too.. it didnt work for me..
 

Tinesthia

New Member
Reaction score
3
It's not supposed to, but for some reason it is making the entered chat string
"Admin Csay " case sensative. Meaning you can't type "admin csay" it has to be "Admin Csay ".

It's not supposed to do that by itself. But yes, it's still working for me.
 
P

Panasonic

Guest
hmmmm well yeh i tried admin csay Admin Csay one time without the Admin Csay at all.. ive tried lots of things.. and nothing comes.. alright well i guess ill keep fooling around with it.. hopefully it gets it sooner or later, depending on changes i make :p


:banghead: If you still have any other ideas people out there, plz post! ty :banghead:
 
M

Mythic Fr0st

Guest
lol

Variables:

String variable called "Chat Message", type is string
Code:
Event - Player 1 red chat message containing Admin Csay as a substring
Conditions triggering player equal to Name_Here or triggering player equal to Name_Here
Actions - set Chat Message = substring entered chatstring, 11, length of entered chat string (or 100)
Game display to all players the text "Chat Message"

just add your events...

If you want Admin Csay to show, then make it
Substring entered chat string 1, length of entered chat string
If you want the name of the actual player typing it...
Do
Game Display to all players the text "Name of triggering player + <Space_Here_> + Chat Message"

That should work
 

Tinesthia

New Member
Reaction score
3
Mythic,
the only problem with that is if admin types "Yeah, I type Admin Csay (message)" in game, it will display to all players "pe Admin Csay (message)"

That said... however.. I do believe it is what he should try next till he gets it working.

Panasonic,
I would remove the condition

Code:
Condition
    (Substring((Entered chat string), 1, 11)) Equal to "Admin Csay "
Until you get it working how you want it to.
 
M

Mythic Fr0st

Guest
hmm

Do this then

I didnt think of that, considering I put - infront of my commands, so when I talk about them, it doesn't effect em

Code:
Frog Murder
    Events
        Player - Player 1 (Red) types a chat message containing Admin Csay as A substring
    Conditions
        (Substring((Entered chat string), 1, 10)) Equal to Admin Csay
    Actions
        Set ChatMessage = (Substring((Entered chat string), 11, (Length of (Entered chat string))))
        Game - Display to (All players) the text: (Substring((Entered chat string), 11, (Length of (Entered chat string))))

just make sure you add your

Name of triggering player equal to "Name" or Name Of Triggering PLayer equal to "Name"

etc..
 

Tinesthia

New Member
Reaction score
3
I think on that last line you mean...
Code:
Game - Display to (All players) the text: (ChatMessage)
Cause thats how it was in the one you posted earlier :)
 
P

Panasonic

Guest
w00t

alright cool i got it working,, the intial like Admin Csay "Hi"

and itll post just Hi in the text, but i had to convert the trigger into custom text because it required tft ehehe but yeh it still works.. only thing the i want to try to change is

well when i type Admin Csay "Text" it says Admin Csay "text" in the original typing thing to the players.. it shows up in both game message and game typing thing.. u know wut im saying?

any way of taking that off?? so that only the game message comes off...if not its cool its awsome anyway
 
C

ChillinPimp

Guest
Unfortunately, to get the Types a Chat Message event you actually have to type the text message :(

I also want to suggest an alternative way to do the conditions if you are planning on having multiple "admin" commands. Have a trigger with "-login" or something that has all your friends name as conditions, and have it add Triggering Player to a player group named Admin or something. Then, with any command like the admin say, just see if player is in player group Admin after the entered chat string.

Also, you can go into File -> Preferences to alter your testing name to your Battle.net name if you want to get rid of the WorldEdit in your conditional.
 
M

Mythic Fr0st

Guest
hmm

Yes there is a way to remove or "make invisible" the text from a player...

^_^

Want to know how Panasonic, pm me on msn :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top