MyBB Community Forums

Full Version: /me and /slap codes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Are those the only codes or are their more?
Do you mean Mycode?
I mean more codes like those ones, with the / at the start. I know all the Mycode already.
They seem to be the only ones. ./inc/class_parser.php:

// Replace "me" code and slaps if we have a username
		if($options['me_username'])
		{
			global $lang;
			
			$message = preg_replace('#(>|^|\r|\n)/me ([^\r\n<]*)#i', "\\1<span style=\"color: red;\">* {$options['me_username']} \\2</span>", $message);
			$message = preg_replace('#(>|^|\r|\n)/slap ([^\r\n<]*)#i', "\\1<span style=\"color: red;\">* {$options['me_username']} {$lang->slaps} \\2 {$lang->with_trout}</span>", $message);
		}
* Zash slaps Joshua around a bit with a large trout.

* Zash never knew about the /slap code.
* Scoutie44 slaps WAT around a bit with a large trout.
(2009-04-24, 06:57 PM)Zash Wrote: [ -> ]* Zash slaps Joshua around a bit with a large trout.

* Zash never knew about the /slap code.

I didn't know slap existed either until a few days ago.
I wish there was /kick sometimes.
I was trying to find more last night and the first one I tried was /kick
There needs to be /poke.

* amnjo pokes (something) with a pointy stick.

Toungue
Pages: 1 2 3