Chat list

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
User avatar
daren adler
Senior Member
Posts: 328
Joined: Sat May 18, 2019 7:42 pm

Chat list

Postby daren adler » Wed Apr 06, 2022 2:20 am

Hello game scripters :smile: I am using some sounds for chat and got it working, was wondering if someone could make a script that would show the list of sounds being used for chat. something like they write !chatlist (or somthing like that) and when they do it will show the sound list for the chat sounds. Here are the sounds

Code: Select all

ahole
ahole2
anal
assalert
asshole
asshole2

balls
beer
bigger
bitch
boomheadshot
boomstick

brb
brb2
brb3
brb4

bs

bye
bye2
bye3
bye4
bye5
bye6
bye7
bye8

cheater

eng

evil

extralife

gg
gg2
gg3
gg4
gg5

gth

hack
hacks

headass

headhumper
headhumpers

hello
hello2
hello3

hi
hi2

hmm

idiot
idiot2
idiot3
idiot4
idiot6
idiot7

jihad

limit

lol
lol2
lol3

nade

nasty

no
no2

noon

np
np2

ns
ns2
ns3

ok

omg
omg2
omg3

ohya

shit

sk

stfu

tk

tellhim

tp

ty
ty2
ty3

welcome

wtf

wst

yes
yes2
yes3

zombies


Thank you and have a great week :cool: :cool:
cssbestrpg
Senior Member
Posts: 287
Joined: Sun May 17, 2020 7:56 am
Location: Finland
Contact:

Re: Chat list

Postby cssbestrpg » Wed Apr 06, 2022 3:25 am

Hi should it show it via menu or tells the list in chat?
User avatar
daren adler
Senior Member
Posts: 328
Joined: Sat May 18, 2019 7:42 pm

Re: Chat list

Postby daren adler » Wed Apr 06, 2022 3:56 am

cssbestrpg wrote:Hi should it show it via menu or tells the list in chat?


Both if you could, but if cant, a list in chat would be good, that way they do not have to write to show it.
cssbestrpg
Senior Member
Posts: 287
Joined: Sun May 17, 2020 7:56 am
Location: Finland
Contact:

Re: Chat list

Postby cssbestrpg » Wed Apr 06, 2022 11:54 am

I made a code, it shows the commands every 60 seconds.

Syntax: Select all

from messages import SayText2
from listeners.tick import Repeat
from colors import GREEN, LIGHT_GREEN

TIMER = 60 # How many seconds it takes to send new message

commands = {
'ahole',
'ahole2',
'anal',
'assalert',
'asshole',
'asshole2',
'balls',
'beer',
'bigger',
'bitch',
'boomheadshot',
'boomstick',
'brb',
'brb2',
'brb3',
'brb4',
'bs',
'bye'
'bye2',
'bye3',
'bye4',
'bye5',
'bye6',
'bye7',
'bye8',
'cheater',
'eng',
'evil',
'extralife',
'gg',
'gg2',
'gg3',
'gg4',
'gg5',
'gth',
'hack',
'hacks',
'headass',
'headhumper',
'headhumpers',
'hello',
'hello2',
'hello3',
'hi',
'hi2',
'hmm',
'idiot',
'idiot2',
'idiot3',
'idiot4',
'idiot6',
'idiot7',
'jihad',
'limit',
'lol',
'lol2',
'lol3',
'nade',
'nasty',
'no',
'no2',
'noon',
'np',
'np2',
'ns',
'ns2',
'ns3',
'ok',
'omg',
'omg2',
'omg3',
'ohya',
'shit',
'sk',
'stfu',
'tk',
'tellhim',
'tp',
'ty',
'ty2',
'ty3',
'welcome',
'wtf',
'wst',
'yes',
'yes2',
'yes3',
'zombies'
}

def chat_message():
for i in commands:
SayText2(f'{LIGHT_GREEN}Say Commands: {GREEN}{i}').send()

my_repeat = Repeat(chat_message)
my_repeat.start(TIMER)
User avatar
daren adler
Senior Member
Posts: 328
Joined: Sat May 18, 2019 7:42 pm

Re: Chat list

Postby daren adler » Wed Apr 06, 2022 6:26 pm

cssbestrpg wrote:I made a code, it shows the commands every 60 seconds.

Syntax: Select all

from messages import SayText2
from listeners.tick import Repeat
from colors import GREEN, LIGHT_GREEN

TIMER = 60 # How many seconds it takes to send new message

commands = {
'ahole',
'ahole2',
'anal',
'assalert',
'asshole',
'asshole2',
'balls',
'beer',
'bigger',
'bitch',
'boomheadshot',
'boomstick',
'brb',
'brb2',
'brb3',
'brb4',
'bs',
'bye'
'bye2',
'bye3',
'bye4',
'bye5',
'bye6',
'bye7',
'bye8',
'cheater',
'eng',
'evil',
'extralife',
'gg',
'gg2',
'gg3',
'gg4',
'gg5',
'gth',
'hack',
'hacks',
'headass',
'headhumper',
'headhumpers',
'hello',
'hello2',
'hello3',
'hi',
'hi2',
'hmm',
'idiot',
'idiot2',
'idiot3',
'idiot4',
'idiot6',
'idiot7',
'jihad',
'limit',
'lol',
'lol2',
'lol3',
'nade',
'nasty',
'no',
'no2',
'noon',
'np',
'np2',
'ns',
'ns2',
'ns3',
'ok',
'omg',
'omg2',
'omg3',
'ohya',
'shit',
'sk',
'stfu',
'tk',
'tellhim',
'tp',
'ty',
'ty2',
'ty3',
'welcome',
'wtf',
'wst',
'yes',
'yes2',
'yes3',
'zombies'
}

def chat_message():
for i in commands:
SayText2(f'{LIGHT_GREEN}Say Commands: {GREEN}{i}').send()

my_repeat = Repeat(chat_message)
my_repeat.start(TIMER)


Thank you, works great. Good job. :grin:

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 15 guests