View Single Post
Author Message
RNR
Junior Member
Join Date: Oct 2015
Location: India
Old 11-26-2015 , 01:56   [ANY]BSD Fortune port for Sourcemod[v0.1]
Reply With Quote #1

Description:
For those who doesn't know what I am talking about here is a link
fortune -- print a random, hopefully interesting, adage
Prints a fortune cookie when a player joins and when a player uses the fortune command.

The plugin doesn's support arguments yet. But hopefully I will try and add them.
There are 3518 adages in fortune.txt.
The fortune.txt doesn't contain the really offensive adages.


Cvar:
  • sm_fortunecomnoroff 1
    Enable or Disable(1/0) /fortune, !fortune and sm_fortune.

Commands:
/fortune, !fortune (in chat) & sm_fortune (in console)

Download Fortune.7z and extract it. It contains Fortune.smx, Fortune.sp and fortune.txt.
To install just put the smx file in addons\sourcemod\plugins and fortune.txt in addons\sourcemod\data


If you find any bug please let me know.

Screenshots Album

Have a good day!
Attached Files
File Type: 7z Fortune.7z (208.4 KB, 178 views)
__________________
My Github profile =)

My Plugins

Si vis pacem, para bellum

Last edited by RNR; 11-27-2015 at 07:18.
RNR is offline