Forum

> > Trash > I need you  
Forums overviewTrash overviewLog in to reply

English I need you  

4 replies
To the start Previous 1 Next To the start

closed moved I need you  

kewixasd
User Off Offline

Quote
Hi

Can someone help me?  
I need some scripts
private message if you help

I would really appreciate it
and I would be grateful

Have a nice day

old Re: I need you  

-3Jlou_nTu4-
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
addhook("say", "say_func")

function say_whisper(plid, msg)
	local plidDst = string.sub(msg, 4, 5)

	if string.byte(plidDst, 2, 2)==string.byte(' ') then
		plidDst = string.sub(msg, 4, 4)
		msg = string.sub(msg, 6)
	else
		msg = string.sub(msg, 7)
	end

	plidDst = tonumber(plidDst)
	if plidDst and string.len(msg)~=0 then
		msg = player(plid, "name")..': '..msg
		parse("sv_msg2 "..tostring(plid)..' '..msg)
		parse("sv_msg2 "..tostring(plidDst)..' '..msg)
	end
end

function say_func(plid, msg)
	if string.byte(msg, 1, 1)==string.byte('!') then
		if string.byte(msg, 2, 2)==string.byte('w') then
			say_whisper(plid, msg)
			return 1
		end
	end

	return 0
end
edited 1×, last 08.12.18 06:01:37 pm

old Re: I need you  

Mami Tomoe
User Off Offline

Quote
The title is misleading (maybe next time Ashe)

You should explain what type of scripts you want so us scripters will know if we're able to help.

old Re: I need you  

DC
Admin Off Offline

Quote
Trashed.
Sorry, this is not how a forum or asking for help works. If you want to ask for help you have to tell people what exactly you want from them. You can't expect that people contact you and ask you how they can help you.

Also the super generic forum title is of course worthless.
To the start Previous 1 Next To the start
Log in to replyTrash overviewForums overview