Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1.  
  2. func shinisay(text);
  3. {
  4. view = view(10, customrole2);
  5. player_list_cycle(view, "printtohead(my, customrole2, strcat(get_alias(customrole2), \" says '\", text, \"'\"));");
  6. list_cycle("watcher", view, "printtohead(my, customrole2, strcat(get_alias(customrole2), \" says '\", text, \"'\"));");
  7. }
  8. func shiniemote(text);
  9. {
  10. view = hearers(10, customrole2);
  11. player_list_cycle(view, "printtohead(my, customrole2, strcat(\"<i>\", get_alias(customrole2), \" \", text, \"</i>\"));");
  12. list_cycle("watcher", view, "printtohead(my, customrole2, strcat(\"<i>\", get_alias(customrole2), \" \", text, \"</i>\"));");
  13. }
  14. func shinishout(text);
  15. {
  16. view = view(100, customrole2);
  17. player_list_cycle(view, "printtohead(my, customrole2, strcat(\"<b>\", get_alias(customrole2), \" shouts '\", text, \"'</b>\"));");
  18. list_cycle("watcher", view, "printtohead(my, customrole2, strcat(\"<b>\", get_alias(customrole2), \" shouts '\", text, \"'</b>\"));");
  19. }
  20. func shiniwhisper(text);
  21. {
  22. view = view(1, customrole2);
  23. player_list_cycle(view, "printtohead(my, customrole2, strcat(\"<i>\"get_alias(customrole2), \" whispers '\", text, \"'</i>\"));");
  24. list_cycle("watcher", view, "printtohead(my, customrole2, strcat(\"<i>\"get_alias(customrole2), \" whispers '\", text, \"'</i>\"));");
  25. }
  26.  
  27. set_customsay(customrole2, " shinisay(text);");
  28. set_customemote(customrole2, " shiniemote(text);");
  29. set_customshout(customrole2, " shinishout(text);");
  30. set_customwhisper(customrole2, " shiniwhisper(text);");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement