| Blockland Forums > Modification Help |
| I'm not seeing an error anywhere, but there must be one. [Fixed] |
| (1/2) > >> |
| TheBlackParrot:
--- Code: ---package ForumEmotes { function servercmdMessageSent(%client, %text) { %text = strReplace(%text,":cookiemonster:","<bitmap:add-ons/script_forumemotes/cookiemonster.png>"); %text = strReplace(%text,":cookie:","<bitmap:add-ons/script_forumemotes/cookie.png>"); %text = strReplace(%text,":panda:","<bitmap:add-ons/script_forumemotes/sadpanda.png>"); %text = strReplace(%text,":icecream:","<bitmap:add-ons/script_forumemotes/icecream.png>"); %text = strReplace(%text,":nes:","<bitmap:add-ons/script_forumemotes/nes.png>"); %text = strReplace(%text,":D","<bitmap:add-ons/script_forumemotes/biggrin.png>"); %text = strReplace(%text,":\","<bitmap:add-ons/script_forumemotes/confused.png>"); <----- Took out this line and it worked fine. %text = strReplace(%text,":/","<bitmap:add-ons/script_forumemotes/confused.png>"); %text = strReplace(%text,"B)","<bitmap:add-ons/script_forumemotes/cool.png>"); messageall("","\c7" @ %client.clanPrefix @ "\c2" @ %client.name @ "\c7" @ %client.clanSuffix @ "\c6: " @ %text); } }; activatepackage(ForumEmotes); --- End code --- It wouldn't happen to be the "B)", would it? Also, I DO NOT want this parented, so don't comment on that. |
| Kalphiter:
messageall('', |
| TheBlackParrot:
--- Quote from: Kalphiter on July 27, 2010, 10:48:38 AM ---messageall('', --- End quote --- Didn't work. |
| Kalphiter:
You won't even tell us the god damn problem. |
| ZSNO:
Hey lookie, he forgot to parent it. --- Quote from: TheBlackParrot on July 27, 2010, 10:40:14 AM --- messageall("","\c7" @ %client.clanPrefix @ "\c2" @ %client.name @ "\c7" @ %client.clanSuffix @ "\c6: " @ %text); --- End quote --- Cant he replace that with the parent? |
| Navigation |
| Message Index |
| Next page |