Name based triggers

seph ir oth

Mod'n Dat News Jon
Reaction score
262
You mean like "-boot Seph ir oth"? Yeh, it can be done!

Example of events:
Player - Player 1 (Red) types a chat message containing (-boot + (Name of Player 1 (Red))) as An exact match
Player - Player 1 (Red) types a chat message containing (-boot + (Name of Player 2 (Blue))) as An exact match
Player - Player 1 (Red) types a chat message containing (-boot + (Name of Player 3 (Teal))) as An exact match
Player - Player 1 (Red) types a chat message containing (-boot + (Name of Player 4 (Purple))) as An exact match

So on and so forth.
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
Well, you pretty much did it there. What you want to do is the following:

A) Set the player's names in a string array (player[0-7 (if 8 players])
B) Make a loop:
For A = 0 through 7 do actions
If Player[A] = Seph ir oth Then
Game - Defeat for player with msg "you are too cool to play this game"
Else do nothing
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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