PDA

View Full Version : ShoutBox


MathewC
02-04-2007, 05:50 PM
With the Zero ShoutBox plugin, is there a edit which i would be able to change the commands from "/prune" to maybe "/delete" ?

firstrebel
02-04-2007, 06:27 PM
Version 2.1 is HERE (http://www.vbhackers.com/f76/ajax-flatfile-vbshout-2-1-a-4536/). Version 2 is on this forum somewhere, do a search.

/prune (Clears the shoutbox completely)
/prune [username] (Clears all shouts posted by specified user)
"/me" - Action message (all users are able to use this command)
/pruneshout [shout] - Deletes a single shout

Bob

ragtek
02-04-2007, 07:27 PM
you could edit the vbshout.php
search for else if (preg_match_all("#^/prune(.*)$#", $Command, $Matches, PREG_SET_ORDER) && canCommand()) and replace prune with what you want

MathewC
02-04-2007, 08:36 PM
firstrebel you must be unable to read, Ragtek posted what i wanted. :/

Edit, would i need to keep the "/" there or change it to something like ":"