• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Issue with rolling system

Status
Not open for further replies.
Level 3
Joined
Jun 18, 2008
Messages
30
Allright, I have this so far:
Roll For an Item
Events
Player - Player 1 (Red) types a chat message containing -roll as An exact match
Player - Player 2 (Blue) types a chat message containing -roll as An exact match
Player - Player 3 (Teal) types a chat message containing -roll as An exact match
Player - Player 4 (Purple) types a chat message containing -roll as An exact match
Player - Player 5 (Yellow) types a chat message containing -roll as An exact match
Player - Player 6 (Orange) types a chat message containing -roll as An exact match
Player - Player 7 (Green) types a chat message containing -roll as An exact match
Player - Player 8 (Pink) types a chat message containing -roll as An exact match
Conditions
Actions
Set Intergers_Roll = (Random integer number between 1 and 100)
Game - Display to (All players) the text: (String(Intergers_Roll))

but I want it so after the player types -roll it displays the name of the roller to everyone. Im pretty sure this has been asked countless of times, but even looking at those triggers makes it difficult to understand.
Any answer? :cry:
 
Status
Not open for further replies.
Top