Bullet_Dodger commented on a Page, ScriptLoader V2.0  -  Dec 16, 2008

Zainul Put [.Code] Code here [./code] without the dots when pasting codes lolol

Eg.

on 1600:text:*:#: {
if ($1 == !load) && (!$2) {
msg $chan Syntax: !load script-name.mrc
}
elseif ($1 == !load) && ($2) {
msg $chan Searching for " $+ $2 $+ "... .. . o.o
if ($exists(scripts\ $+ $2 $+) == $true) {
msg $chan Loading...
timer 1 3 msg $chan Ready ^_^
/load -rs scripts\ $+ $2
}
else {
msg $chan File not found... >.>
}
}
if ($1 == !unload) && (!$2) {
msg $chan Syntax: !Unload script-name.mrc
}
elseif ($1 == !unload) && ($2) {
msg $chan Searching for " $+ $2 $+ "... .. . o.o
if ($exists(scripts\ $+ $2 $+) == $true) {
msg $chan Unloading...
timer 1 3 msg $chan Unloaded
/unload -rs scripts\ $+ $2
}
else {
msg $chan File not found... >.>
}
}
} 
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.