Simple Service Script!

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

Simple Service Script!

Postby Jerzy » Tue May 12, 2009 7:18 pm

Hi Sp00fed!
My first release: a simple service script!

Install
Make a service.mrc, and place it in your mirc director.
Edit the script and change: on *:TEXT:*:#YOURCHAN:{
To: Your own chan, example #Jerzy.
Open mirc and type: /load -rs service.mrc

Code: Select all
on *:TEXT:*:#YOURCHAN:{
if ($nick isop $chan) {
if ($me isop $chan)  {
      if ($1 == .unban) { mode $chan -b $iif(*!*@* iswm $2,$2,$address($2,1)) }
      elseif ($1 == .kick) { Kick $chan $2- }
      elseif ($1 == .ban) { mode $chan +b $address($2,1) }
      elseif ($1 == .kickban) { mode $chan +b $address($2,1) | kick $chan $2- }
      elseif ($1 == .server-uptime) { msg $chan Uptime: $uptime(server,1) }
      elseif ($1 == .join) { join $2 | msg $chan Joiner nu kanal $2 }
      elseif ($1 == .part) { part $2 }
      elseif ($1 == .load) { load -rs $2 | msg $chan loader nu scriptet: $2 }
      elseif ($1 == .unload) { unload -rs $2 | msg $chan unloader nu scriptet: $2 }
      elseif ($1 == .say) { msg $chan $2- }
      elseif ($1 == .botnick) { nick $2- | msg $chan $2 har nu skiftet nick til $2 }
      elseif ($1 == .voice) { mode $chan +v $2 | msg $chan er nu voice }
      elseif ($1 == .devoice) { mode $chan -v $2 | msg $chan $2 er nu devoice }
      elseif ($1 == .op) { mode $chan +o $2 | msg $chan $ er nu op }
      elseif ($1 == .deop) { mode $chan -o $2 | msg $chan $2 er nu deop }
      elseif ($1 == .invite) { .invite $2 $3 }
}
}
}


Enjoy

// Jerzy
Jerzy
 

Return to Mirc Scripting Release

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron