zainul commented on a Page, ScriptLoader V2.0  -  Dec 13, 2008

Try this i would say it might be more helpfull
syntax for use !load script-name.mrc or !unload script-name.mrc

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.