----
So I've made a roleplay sayhook, with the following features;
- Easy adding/removing of saycommands
- Easy adding/removing of $-values (variable values you can insert into your saycommand format)
- The requested say functionality;
-- In-Character messages (no command | player says: text)
-- Out-Of-Character (!ooc | ((player: text)))
-- Virtual Action (!me | >player text)
-- Action (!do | [id:] **text**)
- 911 bytes of script
- Configurable say colours
- Only players in your vicinity can see your chat
----
Note: To make this work with multiple hooks, change the hook's priority to be the highest of all say hooks.
1
addhook('say','_sayHook')
1
addhook('say', '_sayHook', 1)
----
Thanks,
~Alistaire
edited 2×, last 08.01.14 10:02:00 pm
Approved by Infinite Rain
Download
911 b, 520 Downloads