Luxie

linkify for StormFront in GemStoneIV

Nov 27th, 2018
283
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         case $frontend
  2.         when "profanity"
  3.             respond "#{value[:name]} is in room #{value[:room]} via the #{value[:entry]} and charges #{value[:currency]}"
  4.         when "stormfront"
  5.             linkify = '<d cmd=";go2 ' + "#{value[:room]}" + '">' + "#{value[:name]}" + '</d>'
  6.             puts "#{linkify} go #{value[:entry]}, room #{value[:room]} and charges #{value[:currency]}"
  7.         else
  8.             respond "#{value[:name]} is in room #{value[:room]} via the #{value[:entry]}"
  9.         end
  10.     end
RAW Paste Data