How do i do -kick command??

ShinyPickle

New Member
Reaction score
9
Easy.

E: Player 1 (Red) Types "-kick blue" as an exact string

C:

A: Defeat Player 2 (Blue) with the message "BYAHHHH!"
 

Frozenwind

System maker
Reaction score
99
I'd do it more proffesional:

Code:
Map Initation

set playerkickmessage_string [1] = red
set playerkickmessage_string [2] = blue
set playerkickmessage_string [3] = teal
etc.
Code:
Kick Trigger

Events
    Player - player 1 (red) types "-kick " as a substring
Condition
    Substring ((Entered Chat String), 1, 6) is equal to "-kick "
Actions
    Integer A from 1 to 12
        if playerkickmessage_string[(Integer A)] is equal to Substring ((Entered Chat String), 7, (Lenght of (Entered Chat String)))
        then defeat (Player((Integer A)))
        else do nothing

frozenwind.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top