All pastes #391707 Raw Edit

Devoted

public text v1 · immutable
·published 2007-03-12 09:36 UTC
rendered paste body
;########################
;### bot help script  ###
;########################

on *:TEXT:@help:#prestige.gaming: {
  notice $nick Incorrect Syntax, Please type "@help" Followed By Your Problem
  notice $nick Note: Try to include relevant details such as Server IP, FTP Details or Admin Name/Address. A breif description of your problem.
}


on *:TEXT:@help *:#prestige.gaming: {
  writeini requests.ini request $nick 1
  notice $nick $nick - Your issue has been forwarded to one of our administrators, Please hold.
  msg #pGaming.priv New Request: $nick - Has a query: $2-
  msg #pGaming.priv To respond to $nick type: /respond $nick
}

on *:TEXT:!responding *:?:{
  if ($readini(requests.ini,request,$1) !== 1) {
    msg $nick 0 $1
  }
  elseif ($readini(requests.ini,request,$1) == 1) {
    msg $nick 1 $1
  }
  else msg #pGaming.priv An Error has occurred, Please try again.
}

;######################################
;###   Client Respond alias script. ###
;######################################

alias respond {
  if (!$1) { echo -a Error Please enter a user that you wish to respond too. | halt }
}
}
elseif ($1) {
msg PrestigeGaming|Serv !responding $$1
}
}
on *:TEXT:*:?:{
if ($1 == 1) {
if ($nick == PrestigeGaming|Serv) {
  msg $chan Hi $2 $+ , i have been assigned as your helper, please respond to my query message.
  msg $2 Hello $2 $+ , how can i help you today?
}
}
elseif ($1 == 0) {
if ($nick == PrestigeGaming|Serv) {
  echo -a The user $2 has not requested help, you will have to ask them manually if they needed help.
}
}