Quote:
Originally posted by nyghtGT
here is a simple midi player:
NPC Code:
NPC Code:
// NPC made by Nyght GT (LAT Admin)
if (created) {
stommidi;
}
if (playerchats && startswith(playmidi,#c)) {
tokenize #c;
play #t(1).mid;
}
if (playerchats) {
if (strequals(#c,stopmidi)) {
stopmidi;
}
}
say 'playmidi filename' and it will play ... do not include the file extensions ...
|
I think my computer sucks, cause it wont let me use tokensize #c;