Code:
on *:TEXT:*:#: {
if ($strip($1) == !request) {
if (!$($+(%,xrequest.,$nick),2)) {
set -z $+(%,xrequest.,$nick) 60
msg $chan $2- Has Been Added To The Playlist
write requests.txt $2-
}
elseif ($($+(%,xrequest.,$nick),2)) {
msg $chan You Have Requested Recently. $($+(%,xrequest.,$nick),2) Seconds Left.
}
}
elseif ($strip($1) == !cd) {
if ($($+(%,xrequest.,$2),2)) {
unset $+(%,xrequest.,$2)
msg $chan $2 Your CoolDown Was Reseted.
}
}
}

The !cd wasn't working because if you put the same event more than once in the same remote only the 1st works. Generally you should either use if statements or put each same event in a different remote. Try this script it should work! smile
EDIT: I made a mistake on the !cd. $nick instead of $2 ,I corrected to $2 Now

Last edited by OrFeAsGr; 01/10/15 03:44 PM.