would there be a way to make this shorter - 05/07/22 04:18 PM
greetings folks im wondering how this code could be made smaller with less lines perhaps and yet still in 1 event
thanks in advance
Code
ON ^*:RAWMODE:#:{ if ($regex($1-,/([+-]Y|[+-]y|[+-]q|[+]a|[+-]h|[+-]o|[+-]v)/) && $regex($1-,/( $+ $me $+ )/)) { if ($left($1,1) == +) { msg $chan thanks for the $replacex($right($1,1),Y,ojoin,y,oper,o,operator,h,halfop,a,admin,q,owner,v,voice) $nick $+ ! } else { msg $chan why did u do that man why $+ $chr(44) i hate u for removing $replacex($right($1,1),Y,ojoin,y,oper,o,operator,h,halfop,a,admin,q,owner,v,voice)) $nick $+ ! } } }
thanks in advance