Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- guild.tagformat: format tagu gildii
- guild.chat: chat gracza / default
- guild.chat2: chat admina/innej rangi
- # itd
- on load:
- set {guild.chat} to "{@guild.chat}"
- set {guild.chat2} to "{@guild.chat2}"
- on chat:
- set {_chat} to {guild.chat}
- {skGuilds::inGuild::%player%} is set:
- set {_tag} to {skGuilds::inGuild::%player%}
- {skGuilds::Lider::%{skGuilds::inGuild::%player%}%} is set:
- set {_tag} to {skGuilds::inGuild::%player%}
- if {_tag} is not set:
- replace all "{RANK}" with "%{skGuilds::Ranking::%player%}%" in {_chat}
- replace all "{NICK}" with "%player%" in {_chat}
- replace all "{MSG}" with "%message%" in {_chat}
- replace all "{TAG}" with "" in {_chat}
- replace all "Â" with "" in {_chat}
- broadcast "%{_chat}%"
- cancel event
- stop
- replace all "{RANK}" with "%{skGuilds::Ranking::%player%}%" in {_chat}
- replace all "{NICK}" with "%player%" in {_chat}
- replace all "{MSG}" with "%message%" in {_chat}
- replace all "Â" with "" in {_chat}
- replace all "{TAG}" with "{@guild.tagformat}" in {_chat}
- broadcast "%{_chat}%"
- cancel event
- if player is "nick":
- set {_chat2} to {guild.chat2}
- {skGuilds::inGuild::%player%} is set:
- set {_tag} to {skGuilds::inGuild::%player%}
- {skGuilds::Lider::%{skGuilds::inGuild::%player%}%} is set:
- set {_tag} to {skGuilds::inGuild::%player%}
- if {_tag} is not set:
- replace all "{RANK2}" with "%{skGuilds::Ranking::%player%}%" in {_chat2}
- replace all "{NICK2}" with "%player%" in {_chat2}
- replace all "{MSG2}" with "%message%" in {_chat2}
- replace all "{TAG2}" with "" in {_chat2}
- replace all "Â" with "" in {_chat2}
- broadcast "%{_chat2}%"
- cancel event
- stop
- replace all "{RANK2}" with "%{skGuilds::Ranking::%player%}%" in {_chat2}
- replace all "{NICK2}" with "%player%" in {_chat2}
- replace all "{MSG2}" with "%message%" in {_chat2}
- replace all "Â" with "" in {_chat2}
- replace all "{TAG}" with "{@guild.tagformat}" in {_chat2}
- broadcast "%{_chat2}%"
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment